aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 12:23:36 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 12:23:36 +0200
commit3aa45de9dc359169ccaabc07ffa986d72a010cd8 (patch)
tree2623ba10db23064b522106af63124066b0ae3db7 /src/event.rs
parentbf889ff7f57a315525d5e2cb671a19eb7d6e429f (diff)
downloadmarkdown-rs-3aa45de9dc359169ccaabc07ffa986d72a010cd8.tar.gz
markdown-rs-3aa45de9dc359169ccaabc07ffa986d72a010cd8.tar.bz2
markdown-rs-3aa45de9dc359169ccaabc07ffa986d72a010cd8.zip
Add missing mark of `SpaceOrTab` as void event
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index ab91a25..7f81571 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -1833,7 +1833,7 @@ pub enum Name {
}
/// List of void tokens, used to make sure everything is working well.
-pub const VOID_EVENTS: [Name; 40] = [
+pub const VOID_EVENTS: [Name; 41] = [
Name::AttentionSequence,
Name::AutolinkEmail,
Name::AutolinkMarker,
@@ -1872,6 +1872,7 @@ pub const VOID_EVENTS: [Name; 40] = [
Name::ReferenceMarker,
Name::ResourceMarker,
Name::ResourceTitleMarker,
+ Name::SpaceOrTab,
Name::StrongSequence,
Name::ThematicBreakSequence,
];