From e594346544ea96858f6483685a36116e2f39bdde Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 18 Feb 2025 04:42:14 +0100 Subject: Fix `markdown` compilation when `highlighter` feature is disabled --- widget/src/markdown.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/widget/src/markdown.rs b/widget/src/markdown.rs index b69c663e..7e7ae4b1 100644 --- a/widget/src/markdown.rs +++ b/widget/src/markdown.rs @@ -142,6 +142,7 @@ impl Content { leftover: String::new(), references: self.state.references.clone(), images: HashSet::new(), + #[cfg(feature = "highlighter")] highlighter: None, }; -- cgit