Preserving HTML - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Preserving HTML (/showthread.php?tid=18870) |
Preserving HTML - El Forum - 05-20-2009 [eluser]Deep Arora[/eluser] I created a cms (blogging frontend) for my specific needs. On the blog paste page, there is a comment form. Now, ehen someone enters a comment and gives line spaces between the paragraphs, the line spaces are ot preserved and shown on the comments list. How can we preserve this? Preserving HTML - El Forum - 05-20-2009 [eluser]Thorpe Obazee[/eluser] use this nl2br Preserving HTML - El Forum - 05-20-2009 [eluser]Deep Arora[/eluser] PERFECT!!! Thanks |