User generated content in HTML should not just be commented out
|Reported by:||kevinjardine||Owned by:|
Since user generated content can contain strings such as "-->" or "--", using HTML comments to attempt to remove it from display can lead to unexpected results that break the page layout.
An example (for Firefox) is here:
and an explanation is in my comments in this thread:
Although the specific example is broken only in Firefox, it would be easy to create an example that would break the layout in any browser.