Handle explicit line breaks (this were being skipped if linebreak wasn't set to automatic).

This commit is contained in:
Davide P. Cervone 2015-04-08 09:40:44 -04:00
parent 24861d0205
commit 02066cb7cc

View File

@ -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);