summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-18 04:42:14 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-18 04:42:14 +0100
commite594346544ea96858f6483685a36116e2f39bdde (patch)
tree0374ab5ddbd4bad68087e31e1a87cc92a4a7f3ae
parentd7563ee94ad70a0105cd8a41334392a19bc91dd2 (diff)
downloadiced-e594346544ea96858f6483685a36116e2f39bdde.tar.gz
iced-e594346544ea96858f6483685a36116e2f39bdde.tar.bz2
iced-e594346544ea96858f6483685a36116e2f39bdde.zip
Fix `markdown` compilation when `highlighter` feature is disabled
-rw-r--r--widget/src/markdown.rs1
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,
};