Forum .LRN Q&A: Response to Forums plain text formatting bug?

Posted by Lars Pind on
I just noticed this commit in the CVS tree, and figured it was in response to this thread:
Modified Files:
Log Message:
added code to ad_text_to_html to Convert _single_ CRLF's to <br>'s to preserve line breaks
What I said in reponse was:
It was very much on purpose that I didn't include this in code originally.

If you do this, then the formatting begins to be dependent on accidental returns that you cannot see in your textarea.

I decided that since the desire for explicit formatting is relatively rare, you'll have to live with having to either (a) select the preformatted style, (b) select HTML style and add the <pre ></pre> tags yourself, or (c) stick with plain, but use double-enters for your line breaks.