Mon, March 22
Test entry
I’ve come across an interesting bug in the otherwise great interaction between “Convert Line Breaks” (a comment configuration text formatting option) and block-level HTML. Convert Line Breaks replaces one return with a
, and two returns with enclosing
tags. It is smart enough to recognize
- and
- if separated by a single return. This allows me to use HTML in comments while leaving the whitespace tags to MT, and for the comments to be friendly to anyone not using HTML.
However the system doesn’t recognize
- ,
- or
- . Even more interesting, for the first
- followed by 2 returns the closing
- . This leaves any following
- and
- tags without an opening or closing
- .
I’ll post the following code in a comment below:
Posted by lexzog at March 22, 2004 05:23 PM
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)
- and does not tag enclose if surrounded by white space. It also recognizes