From d14d1e867f83de631e7252ec5bdb2aa2dd870c8e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 17 May 2023 12:55:25 +0200 Subject: Fix figure detection --- library/src/text/raw.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'library/src/text/raw.rs') diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index 4cc26fa6..db437481 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -244,11 +244,7 @@ impl LocalName for RawElem { } } -impl Figurable for RawElem { - fn priority(&self, _styles: StyleChain) -> isize { - 500 - } -} +impl Figurable for RawElem {} /// Highlight a syntax node in a theme by calling `f` with ranges and their /// styles. -- cgit v1.2.3