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

HTML spans within MathML should not be namespaced as MathML under Nokogiri 1.11 #64

Closed
opoudjis opened this issue May 19, 2021 · 2 comments
Assignees

Comments

@opoudjis
Copy link
Contributor

Arises from #63

@opoudjis opoudjis self-assigned this May 19, 2021
@opoudjis opoudjis changed the title HTML spans within MathML should not be namespaced as MathML HTML spans within MathML should not be namespaced as MathML under Nokogiri 1.11 May 19, 2021
@opoudjis
Copy link
Contributor Author

This results from rubys/nokogumbo#160 . It's an update that does make sense (if you add a child node, inherit its namespace), but we do need to now explicitly namespace the inserted spans as HTML.

@opoudjis
Copy link
Contributor Author

In fact, we are having to do this manually, by stripping the namespaces in text: Word MHT cannot parse the explicit HTML namespaces, which Nokogiri 1.11 is inserting here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant