Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails when a content area contains <o:p> tags introduced by Word #583

Open
christianp opened this issue Nov 8, 2018 · 1 comment
Labels
Confirmed Bug Difficult! Issues that will take a long time to implement, or involve big breaking changes

Comments

@christianp
Copy link
Member

The XML parser gives an error 'unbound prefix'.

Content areas are HTML, not XML, so the parser should not be this strict. Is there a more forgiving parser than expat, which is the default used by ElementTree?

@christianp christianp added the Difficult! Issues that will take a long time to implement, or involve big breaking changes label Aug 3, 2022
@christianp
Copy link
Member Author

There's another error when a content area contains a namespaced <math> element, as produced by MathJax:

<p><math xmlns="http://www.w3.org/1998/Math/MathML"></math></p>

Should we strip xmlns attributes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed Bug Difficult! Issues that will take a long time to implement, or involve big breaking changes
Projects
None yet
Development

No branches or pull requests

1 participant