Commit b665f233 authored by Fred Chasen's avatar Fred Chasen

dont break before wbr

parent 4256ca65
......@@ -328,7 +328,7 @@ class Layout {
skip = styles.getPropertyValue("break-inside") === "avoid";
breakAvoid = node.dataset.breakBefore === "avoid" || node.dataset.previousBreakAfter === "avoid";
prev = breakAvoid && nodeBefore(node, rendered);
br = node.tagName === "BR";
br = node.tagName === "BR" || node.tagName === "WBR";
}
if (prev) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment