diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-13 14:48:19 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-13 14:48:19 +0200 |
| commit | 67e9313b9127b70b9d7dad6540853025ae90b4a5 (patch) | |
| tree | 9f060b1982534ad67ee5a0688927071aa08dd96c /src/eval/mod.rs | |
| parent | 2279c26543f7edde910fd89a3f8f0710c67249db (diff) | |
Soft breaks and shy hyphens
Diffstat (limited to 'src/eval/mod.rs')
| -rw-r--r-- | src/eval/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/mod.rs b/src/eval/mod.rs index f2c03c0f..4a616b58 100644 --- a/src/eval/mod.rs +++ b/src/eval/mod.rs @@ -108,8 +108,8 @@ impl Eval for MarkupNode { fn eval(&self, ctx: &mut Context, scp: &mut Scopes) -> EvalResult<Self::Output> { Ok(match self { Self::Space => Content::Space, - Self::Linebreak => Content::Linebreak, Self::Parbreak => Content::Parbreak, + Self::Linebreak(soft) => Content::Linebreak(*soft), Self::Text(text) => Content::Text(text.clone()), Self::Quote(double) => Content::Quote(*double), Self::Strong(strong) => strong.eval(ctx, scp)?, |
