-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
linebreaks incompatible with href using latex input and HTML-CSS output #1022
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
Comments
I'm unable to reproduce this. Can you share a live sample (e.g., on jsbin, codepen etc) where this fails? FWIW, the syntax is |
You can try with the following code. I reproduced it on jsbin: http://jsbin.com/lizanadiro/3/ In case you need it: <head><script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
linebreaks: { automatic: true },
}
});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
<body>
<div style='width: 500px'>
$$ \href{http://docs.mathjax.org/}{SomethingQuiteLongTooFillTheWholeScreen} + \href{http://docs.mathjax.org/}{SomethingQuiteLongTooFillTheWholeScreenToo} + \href{http://docs.mathjax.org/}{AnotherSomethingQuiteLongTooFillTheWholeScreen} + \href{http://docs.mathjax.org/}{And A LastSomethingQuiteLongTooFillTheWholeScreen} $$
</div>
</body> |
Thanks for following up. Strange; I could've sworn I did something similar yesterday and failed to reproduce. Oh well, I can reproduce it in your example. Thanks so much for the report. We'll look into it. |
…nd when they are not. Resolves issue mathjax#1022.
The |
Handle hrefs during line breaking. #1022
==> Merged. |
==> In testsuite MathMLToDisplay/Topics/LineBreak/issue1022.html |
When I turn on linebreaks: { automatic: true } then the links in my formula are not rendered.
When I turn off linebreaks, the links are rendered as expected.
Here follows an example of tex formula:
$$ \href(/audit/45, A) + \href(/audit/46, B) + \href(/audit/47, C) $$
I've reproduced with MathJax 2.3.0 and MathJax 2.4.0
Regards,
Lionel
The text was updated successfully, but these errors were encountered: