From dc8d70c96e2bc56ed37a006f49a962c0fad1c96c Mon Sep 17 00:00:00 2001 From: PoiScript Date: Tue, 7 May 2024 11:02:34 +0800 Subject: [PATCH] fix: ignore keyword on html export --- src/export/html.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/export/html.rs b/src/export/html.rs index 084b74c..8f90f34 100644 --- a/src/export/html.rs +++ b/src/export/html.rs @@ -326,6 +326,9 @@ impl Traverser for HtmlExport { let _ = write!(&mut self.output, "{}", &latex.syntax); } + // ignores keyword + Event::Enter(Container::Keyword(_)) => {} + Event::Entity(entity) => self.output += entity.html(), _ => {}