Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello good people,

If someone related to this area could give this patch the once over.
Please find attached patch.

This is (teensy tiny) patch that should fix an annoying HTML filter
"feature".
The problem is is that an xhtml style close tag <br/> <title/> is not
recognized
is a html tag which is as it should be. But there was some code that would
spew
the contents (inner HTML as it were) of the tag into the Writer document.
This
makes sense but not in the HEAD section. So I found where I think the check
should go and stuck it in. May break other stuff but seems to be the correct
logic
from where I am sitting.

Uncovered a slightly nastier issue fdo#36390 while implementing this fix. If
anybody
is concerned it is if a tag is formed like <br /> or <title /> (note the
extra space this
time!) then the HTML parser recognizes them as valid tags when they are
obviously
not with an interesting set of consequences depending on the tag.

Regards,
    Anthony

Attachment: 0001-Resolves-fdo-36080-fdo-34666-process-unknown-html-ta.patch
Description: Binary data


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.