in reply to Proper nesting of HTML to be enforced
Additional problems thus far, found but not yet reported:
- chatterbox faq dies. I'm currently looking into that, but nothing so far.
- /me yadda </i>foo<i> bar. does not work. It seems to escape the first </i>, then insert a missing </i> at the end. I havn't looked into this yet, but suspect a gready/nongreedy problem.
- A missing tag in a context where font or span is not allowed, combined with htmlerror=1 mode, will insert the font and span tags, then escape them. I havn't looked into this, and this will likely be unfixable, or at least, this requires a deep knowlage of the regex -- I'll leave it to tye.
- <font color=""><span class=""> is used instead of <font color="" class="">. Noted here, but not fixed, because it requires changes to the .pm file, and "might as well" be batched with the other required changes.
Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Proper nesting of HTML to be enforced (bugs)
by tye (Sage) on Feb 03, 2004 at 19:59 UTC |
In Section
Perl Monks Discussion