summaryrefslogtreecommitdiff
path: root/library/src/text/raw.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-17 12:55:25 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-17 12:55:25 +0200
commitd14d1e867f83de631e7252ec5bdb2aa2dd870c8e (patch)
tree0bd1b391c704ba2776810cfe6e6a5c4361263514 /library/src/text/raw.rs
parent88cb8c26264713d6914c74226c962d4377b64668 (diff)
Fix figure detection
Diffstat (limited to 'library/src/text/raw.rs')
-rw-r--r--library/src/text/raw.rs6
1 files changed, 1 insertions, 5 deletions
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.