Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.34
-
None
-
Yes
Description
When cut&pasting from word, you might get TextAlign values that doesn't match our schema.
So markup like this:
<?xml version="1.0" encoding="UTF-8"?> <section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"> <p style="text-align:start;">Some text</p> </section>
will be converted to richtext like this:
<?xml version="1.0" encoding="UTF-8"?> <section xmlns="http://docbook.org/ns/docbook" xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"> <para ezxhtml:textalign="start">Some text</para> </section>
But this won't validate because ezxhtml:textalign="start" is not an accepted value according to the schema