PHPBack Feedback

10
Votes
Accepting Paragraphs
When I write an idea, I do paragraphs so the idea becomes more legible. But after I Submit all the paragraphs are gone, and the text becomes a mess and not so simple to read.


Leinad Mind shared this idea 30/03/16 21:13
Someone20 17/08/16 10:33 flag comment
This can be simply fixed. Edit: application\views\home\view_idea.php . Find this line <?php echo $idea->content; ?> and replace it with <?php echo nl2br($idea->content); ?> and you'll be good to go.
Kae Verens 29/06/17 08:25 flag comment
editing the code is well and good, but what happens when you upgrade? your change is gone. it's better to have a built-in option to allow formatting. either as simple as nl2br (as suggested), or something more full-on like BBCode

© 2014 - Powered by PHPBack