diff options
author | 2025-02-18 04:42:14 +0100 | |
---|---|---|
committer | 2025-02-18 04:42:14 +0100 | |
commit | e594346544ea96858f6483685a36116e2f39bdde (patch) | |
tree | 0374ab5ddbd4bad68087e31e1a87cc92a4a7f3ae | |
parent | d7563ee94ad70a0105cd8a41334392a19bc91dd2 (diff) | |
download | iced-e594346544ea96858f6483685a36116e2f39bdde.tar.gz iced-e594346544ea96858f6483685a36116e2f39bdde.tar.bz2 iced-e594346544ea96858f6483685a36116e2f39bdde.zip |
Fix `markdown` compilation when `highlighter` feature is disabled
-rw-r--r-- | widget/src/markdown.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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, }; |