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

mathjax depends on unaltered nobr css styles #29

Closed
kellen opened this issue Nov 18, 2010 · 2 comments
Closed

mathjax depends on unaltered nobr css styles #29

kellen opened this issue Nov 18, 2010 · 2 comments

Comments

@kellen
Copy link

kellen commented Nov 18, 2010

Equations show up incorrectly if the nobr element is styled, for example, with: nobr { white-space:normal; }

Yes, this is an illogical rule to set on the nobr element, but it can come, for example, as a part of the Tripoli css-reset (http://devkick.com/lab/tripoli/).

So mathjax should ensure that nobr is rendering normally inside of the MathJax classed div by including the following css in the inserted styles:
.MathJax nobr { white-space: nowrap; }

@dpvc
Copy link
Member

dpvc commented Jan 4, 2011

This has been fixed by the merge of dpvc/issue29 with master.

@fred-wang
Copy link
Contributor

I've added a test MathMLToDisplay/nobr-1.html

==> In testsuite

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

No branches or pull requests

3 participants