diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-31 09:37:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-31 09:52:14 +0100 |
| commit | 7c683db3673187260ef2fa84d779ff81cb05aba8 (patch) | |
| tree | 5ecfe3845b528a7d5ec67dfc1c93eb0dee3fa951 /library/src/lib.rs | |
| parent | a6d90c1bf1e9fefa0af04206909a40e112d6bb14 (diff) | |
Merge `MarkupNode` and `MathNode` into `Expr`
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), |
