cancel
Showing results for 
Search instead for 
Did you mean: 

problem with line breaks in forum posts (Labs 3Stable/Final)

steve_tekell
Champ in-the-making
Champ in-the-making
For a line break (new line) entered the text box when creating/editing a forum posts,  2.1 used
<br/>‍
(XHTML compliant br)

Whereas, Labs 3Stable/Final uses
<br>‍
(HTML br)

Is there some way to enable support for the XHTML br/'s used in 2.1?

The problem isn't just the switch from XHTML to HTML (which is an odd choice), but that upgrading effectively breaks all the old posts.  When viewing old posts all line breaks are lost.  The br/'s are removed to display the text.  When editing old posts, the br/'s, are editable text and the text is now all on one line.

I do wonder if it's not a bad choice to switch form XHTML to HTML anyway.  Downstream applications might break.
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
I doubt the switch was intentional - looks more like a regression bug to me. Could you raise it in JIRA please?

Thanks,
Mike

steve_tekell
Champ in-the-making
Champ in-the-making
done.
https://issues.alfresco.com/jira/browse/ALFCOM-2530

Too bad this is in the final/stable labs 3 version.  I guess it'll be another year or so before we see a "stable" Labs release with the bug fix.

I doubt the switch was intentional - looks more like a regression bug to me. Could you raise it in JIRA please?

Thanks,
Mike