Hello good people,<div><br></div><div>If someone related to this area could give this patch the once over.</div><div>Please find attached patch.</div><div><br></div><div>This is (teensy tiny) patch that should fix an annoying HTML filter &quot;feature&quot;.</div>


<div>The problem is is that an xhtml style close tag &lt;br/&gt; &lt;title/&gt; is not recognized</div><div>is a html tag which is as it should be. But there was some code that would spew</div><div>the contents (inner HTML as it were) of the tag into the Writer document. This</div>


<div>makes sense but not in the HEAD section. So I found where I think the check</div><div>should go and stuck it in. May break other stuff but seems to be the correct logic</div><div>from where I am sitting.</div><div><br>


</div><div>Uncovered a slightly nastier issue fdo#36390 while implementing this fix. If anybody</div><div>is concerned it is if a tag is formed like &lt;br /&gt; or &lt;title /&gt; (note the extra space this</div><div>time!) then the HTML parser recognizes them as valid tags when they are obviously</div>


<div>not with an interesting set of consequences depending on the tag.</div><div><br></div><div>Regards,</div><div>    Anthony</div>