diff --git a/cove/src/euph/highlight.rs b/cove/src/euph/highlight.rs index 0e7fb56..1c9abd0 100644 --- a/cove/src/euph/highlight.rs +++ b/cove/src/euph/highlight.rs @@ -148,7 +148,7 @@ pub fn apply_spans( if let Some(Some(replacement)) = util::EMOJI.get(name) { result.then(replacement, base) } else { - result.then(name, base.magenta()) + result.then(text, base.magenta()) } } };