You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a data attribute that is appended in a <br> tag, for example <br data-suggestion="ef0oraskdmd">, when I am trying to convert it into a xhtml format, it gives me the below error:
ERROR org.docx4j.convert.in.xhtml.XHTMLImporterImpl - org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 55991; The element type "br" must be terminated by the matching end-tag "</br>"."
When I remove the data attribute data-*, XHTMLImporterImpl is able to convert it to a xhtml format. How can I mitigate this issue? Is there any temporary fix I can implement?
docx4j-ImportXHTML - 11.4.6 Java 11
The text was updated successfully, but these errors were encountered:
I have a data attribute that is appended in a
<br>
tag, for example<br data-suggestion="ef0oraskdmd">
, when I am trying to convert it into a xhtml format, it gives me the below error:ERROR org.docx4j.convert.in.xhtml.XHTMLImporterImpl - org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 55991; The element type "br" must be terminated by the matching end-tag "</br>"."
When I remove the data attribute
data-*
,XHTMLImporterImpl
is able to convert it to axhtml
format. How can I mitigate this issue? Is there any temporary fix I can implement?docx4j-ImportXHTML - 11.4.6
Java 11
The text was updated successfully, but these errors were encountered: