summaryrefslogtreecommitdiff
path: root/src/eval
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-11-27 23:13:59 +0100
committerLaurenz <laurmaedje@gmail.com>2020-11-27 23:13:59 +0100
commit98f77e4d80324f58b1c390e555057f96836fed63 (patch)
treeed0401fc2d80c6a5df74f1731383764a377d900d /src/eval
parent475ca7a62ec99f0b4d8319410b7ee3134a5fcfec (diff)
Fix headings that are separated by only one newline 🚧
Previously the following lead to only one line with both heading and body: ``` # Heading Body ```
Diffstat (limited to 'src/eval')
-rw-r--r--src/eval/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eval/mod.rs b/src/eval/mod.rs
index 4cfebd3e..e1682adc 100644
--- a/src/eval/mod.rs
+++ b/src/eval/mod.rs
@@ -357,6 +357,7 @@ impl Eval for NodeHeading {
ctx.state.font.strong = true;
self.contents.eval(ctx);
+ SynNode::Parbreak.eval(ctx);
ctx.state = prev;
}