I never was succesful in getting this to work, after making Wenyue's suggested changes Online Editor then holds the line break information okay, but it seems that the parser still strips out the multiple breaks before presenting the article.
Also Wenyue when your suggestion is implemented it also has the side effect of leaving a <p> tag in a content area (body) for example if the user has typed there but then deleted. This has the effect that articles will sense body content and link to full view even though there is none. The body area is then impossible to clear unless you disable the editor.
Any further advice on getting return breaks anyone?
www.dbinformatics.com.au
We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.
>but it seems that the parser still strips out the multiple breaks before presenting the article.
I guess the reason is that browsers will not display <p></p> which eZ publish xmloutputhandle returns for breaks. I have fixed this bug in svn 8689. You can change line 257 in kernel/classes/datatypes/ezxmltext/handlers/output/ezxhtmloutput.php to <p> </p> which will solve the problem.
> it also has the side effect of leaving a <p> tag in a content area (body) for example if the user has typed > there but then deleted. This has the effect that articles will sense body content and link to full view even >though there is none. The body area is then impossible to clear unless you disable the editor.
Yes, there is the problem, this side-effect will be removed in the next release.
Regards,
wenyue
You must be logged in to post messages in this topic!