Skip to content

Commit fd22363

Browse files
committed
Merge pull request #1462 from dpvc/issue1441
Bubble percentage widths up while line breaking in CHTML. Resolves issue #1441.
2 parents 2649818 + 715dadf commit fd22363

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpacked/jax/output/CommonHTML/autoload/multiline.js

+1
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
348348
//
349349
var node = this.CHTMLnodeElement();
350350
line.appendChild(node);
351+
if (this.CHTML.pwidth && !line.style.width) line.style.width = this.CHTML.pwidth;
351352
//
352353
// If it is last, remove right margin
353354
// If it is first, remove left margin

0 commit comments

Comments
 (0)