diff options
Diffstat (limited to 'library/src/lib.rs')
| -rw-r--r-- | library/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/lib.rs b/library/src/lib.rs index e345bbee..14b02033 100644 --- a/library/src/lib.rs +++ b/library/src/lib.rs @@ -180,7 +180,7 @@ fn items() -> LangItems { em: |styles| styles.get(text::TextNode::SIZE), dir: |styles| styles.get(text::TextNode::DIR), space: || text::SpaceNode.pack(), - linebreak: |justify| text::LinebreakNode { justify }.pack(), + linebreak: || text::LinebreakNode { justify: false }.pack(), text: |text| text::TextNode(text).pack(), text_id: NodeId::of::<text::TextNode>(), text_str: |content| Some(&content.to::<text::TextNode>()?.0), |
