• Post Reply Bookmark Topic Watch Topic
  • New Topic

Newline character in table content  RSS feed

 
Robby Jain
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a table and it is populated using dom now elements in dom contain \n
i require that where there is \n it should act as new line character help !!
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37255
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HTML, <br /> serves as a new line. Can you do a string search and replace to convert to the HTML new line?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Technically, in HTML it's <br>. <br/> is XHTML notation.

In preparation for HTML5, people should stop thinking along the XHTML lines.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!