jquery - New line is ignored while submitting text -


On the client side I'm using jquery and server-side spring MVC.

I have a lesson:

  This line is 1 this line is 2   

If I submit it to DB Then it is stored in this line1 is the line 2 means new <<>

To see line breaks on the HTML page, \ n characters & lt; Br / & gt; . For example in Java:

  string output = withbrew = inputwidbread.value ("[\\ r \\ n] +", "


Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -