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

inspToMd.py breaks MathML #43

Open
duetosymmetry opened this issue Dec 9, 2024 · 1 comment
Open

inspToMd.py breaks MathML #43

duetosymmetry opened this issue Dec 9, 2024 · 1 comment

Comments

@duetosymmetry
Copy link
Member

The python function textwrap.fill doesn't know that it can break between MathML tags. This leads to problems like the one I fixed in 9042656. One issue was that the tag name mrow was split across two lines, that's obvious. A more subtle issue is that when an open/close tag is split across lines, Kramdown might convert the open/close characters from < and > to HTML entities&lt; and &gt;.

@duetosymmetry
Copy link
Member Author

This seems to be ok for about a month after #45, so maybe this issue can be closed

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