summaryrefslogtreecommitdiff
path: root/src/exec
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec')
-rw-r--r--src/exec/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec/mod.rs b/src/exec/mod.rs
index 762b555d..373a3263 100644
--- a/src/exec/mod.rs
+++ b/src/exec/mod.rs
@@ -52,8 +52,8 @@ impl ExecWithMap for SyntaxTree {
impl ExecWithMap for SyntaxNode {
fn exec_with_map(&self, ctx: &mut ExecContext, map: &ExprMap) {
match self {
- Self::Text(text) => ctx.push_text(text),
Self::Space => ctx.push_word_space(),
+ Self::Text(text) => ctx.push_text(text),
Self::Linebreak(_) => ctx.linebreak(),
Self::Parbreak(_) => ctx.parbreak(),
Self::Strong(_) => ctx.state.font_mut().strong ^= true,