On 24/Nov/10 00:19, Sam Varshavchik wrote: > Alessandro Vesely writes: >> In facts, a snippet like >> >> all’<strong><b><font face="Times New Roman">ASSEMBLEA >> >> is rendered like >> >> all’< >< >< >ASSEMBLEA >> >> with varying amounts of whitespace between one '<' and the >> corresponding '>'. > > It's probably some other tag or attribute that getting edited out > here. The above tags are ok, and should be rendered fine, or there's > some other formatting error in the nearby html.
Yes, the W3C Validator reports omitted end tags, as well as end tags for tags that were not opened, for each of those three tags. And the declared charset was us-ascii. > sqwebmail does some aggressive sanitizing in order to block potential > XSS attempts. I don't have the time to keep track exactly how various > browsers handle malformed html. If something looks wrong, it gets nuked. I suspect there may be a bug with that nuking, because I saw the '<'s and '>'s as bare chars rather than &-entities, in the source viewer. However, I'm unfamiliar with sqwebmail[d]. Is it possible to compile a standalone debuggee that just reads the message file and writes out the cleaned-up html? -- ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
