From 7c683db3673187260ef2fa84d779ff81cb05aba8 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 31 Dec 2022 09:37:55 +0100 Subject: Merge `MarkupNode` and `MathNode` into `Expr` --- library/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/src/lib.rs') 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_str: |content| Some(&content.to::()?.0), -- cgit v1.2.3