This is a known issue with the forum software. It uses a library for sorting out the HTML, and that library gets confused by Java generics (which also use angle brackets, but have rather different notions about what constitutes wellformedness). So far, we haven't been able to get anyone to look into this :-(
Ping & DNS - updated with new look and Ping home screen widget
That's an interesting find, but a quick grep through the source shows that this method isn't called from anywhere (maybe not too surprising since it's called "espaceHtml" instead of "escapeHtml" - not too obvious :-)
No, the problem is somewhere within the http://htmlparser.sourceforge.net/ library, which has bugs, but is abandoned now. I recall that we fixed at least one bug in it (for which luckily a patch had been posted on SourceForge).
I don't know if the method is used. Eclipse couldn't find references. However the method could be called from the "view" because java code is used there and I don't think eclipse can track that.
Joined: Mar 22, 2005
Just to show that the library has other problems as well: This is the RSS feed for the Ranch Office forum (the link for which you can find on the forum home page). The entry for this topic starts with "When I post this sentence: >" - which has an extra closing angle bracket; that can be found in many RSS feed entries. It's trying to sanitize HTML by adding angle brackets where it thinks they're missing, but is thrown off by the generics notation, since that isn't nested in the same way as HTML/XML.
I had some posts that had an > at the end. I thought I had made a typo but now I know it was the library. I did a test run with the library version 1.5 (currently used by jforum) and I can confirm that the library is to blame.
The snapshot version doesn't have a different architecture but my IDE thought it would be funny to mark valid imports as invalid. Now the bad news the snapshot version doesn't solve it
Now I'm going to bed. It's 2.30 AM
That checkbox is based on the "Allow HTML" setting in your profile, so you can turn it off by default for all of your posts. Given that -thanks to UBB- there is really not much need for HTML posting, I think it makes sense to change the profile to not allow HTML by default for new accounts, though. Most people will probably leave it turned off and never notice the difference :-)
Joined: Mar 22, 2005
Generics code is now properly displayed, no matter what the "Disable HTML" setting is set to.