|
Pablo
Single line breakJune 09, 2012 02:32PM |
Hello, html purifier does a great job with the auto paragraph function, however this function only works for double new lines ("\n\n").
When you input something like this:
this is a new: \n line
it outputs this:
this is a new line
I've tried modifying the injector file for this function and replace the content of the text applying the nl2br() php function to it, but the output of the text comes out html encoded (special characters)
any advise on this ?
cheers
|
Re: Single line break June 09, 2012 04:30PM |
Admin Registered: 6 years ago Posts: 2,640 |