Message boards : Web interfaces : Forum : doesn't need {br}
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 27 Jun 06 Posts: 305 ![]() |
If I insert preformatted text, it does not need to have explicite line breaks. Line1 Line2 Line3 results in <pre>Line1<br> Line2<br> Line3</pre> i.e. double linebreaks in the forum, one from the CR that is in the text, a second one from the HTML <br> tag ��u� |
![]() Send message Joined: 27 Jun 06 Posts: 305 ![]() |
Still nof fixed, while in <pre> it does not need extra <br> tags at the end of the lines. line1 line2 prints one extra empty line between line1 and line2 |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
It's hard to fix. The current conversion code is converting all newlines to <br>'s, IIRC before even converting the BBcode tags. |
![]() Send message Joined: 27 Jun 06 Posts: 305 ![]() |
It's hard to fix. The current conversion code is converting all newlines to <br>'s, IIRC before even converting the BBcode tags. I know. What it would need is a flag "in_preformat" that switches the <br> stuff off while true or just removes the linefeeds and keeps only the <br>. The code tag seems to be messed up too btw., at least in server version 14319 it doesn't work as supposed : [img]http://boinc.berkeley.edu/dev/www_logo.gif[/img] I would expect the BBCode conversion to be switched off while in "code" mode but that is not working, it shows me the link (I have set "show links instead of images"). Same for the preview of code, it shows just nothing except for the indent. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.