commit 02066cb7cc452e2ece60c336c478802fa59da5c5
parent 24861d02052a10c3b7b8e22f9eeab22ae616ccc5
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 8 Apr 2015 09:40:44 -0400
Handle explicit line breaks (this were being skipped if linebreak wasn't set to automatic).
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -2445,8 +2445,8 @@
return node;
},
CHTMLlineBreaks: function () {
- if (!LINEBREAKS.automatic || !this.parent.linebreakContainer) return false;
- return (this.CHTML.w > CHTML.linebreakWidth) || this.hasNewline();
+ if (!this.parent.linebreakContainer) return false;
+ return (LINEBREAKS.automatic && this.CHTML.w > CHTML.linebreakWidth) || this.hasNewline();
},
CHTMLstretchV: function (h,d) {
this.CHTMLstretchChildV(this.CoreIndex(),h,d);