SA Bugzilla – Bug 6168
html title concatenation too tight
Last modified: 2009-08-05 02:17:02 UTC
Created attachment 4490 [details] html content without spaces between tags In the attached example: <head><title>example.org</title></head><body><h1>example.net</h1> the title is apparently concatenated to the body without any space. This means that \b and ^ may not work as expected at the start of a body rule and also confuses uri parsing: dbg: uri: parsed uri found of type parsed, example.orgexample.net </title> and </body> should imply at least as much of a break as <p> or <td>.
Created attachment 4501 [details] patch to put whitespace after title This patch fixes the run-together of domain names in the test case (which was based on an actual false positive), by putting the html title on a line of its own. However, it doesn't deal with two adjacent h[n] headers: See also bug #5749.
thanks; applied. : 219...; svn commit -m "bug 6168: <title> tags should be surrounded by an implicit whitespace char in text rendering of HTML" lib/Mail/SpamAssassin/HTML.pm Sending lib/Mail/SpamAssassin/HTML.pm Transmitting file data . Committed revision 801100.