Skip to content

Commit

Permalink
fix(config): Don't correct thead for HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Aug 23, 2022
1 parent 1e58c65 commit 5801209
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,20 @@ impl TypeEngineConfig {
..Default::default()
},
});
patterns
.entry("html".into())
.or_insert_with(|| GlobEngineConfig {
extend_glob: Vec::new(),
engine: EngineConfig {
dict: Some(DictConfig {
extend_identifiers: maplit::hashmap! {
"thead".into() => "thead".into(),
},
..Default::default()
}),
..Default::default()
},
});
patterns
.entry("rust".into())
.or_insert_with(|| GlobEngineConfig {
Expand Down

0 comments on commit 5801209

Please sign in to comment.