diff options
| author | Mica White <botahamec@outlook.com> | 2026-10-03 14:14:31 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-10-03 14:14:31 -0400 |
| commit | 1b7ddd5894c2636618e630f44b1bb7d598d29b48 (patch) | |
| tree | 23634f9a1e95a719628b5978c834d1c7de69e615 /src/lib.rs | |
| parent | 67083043f5da93c447468578c49ffec1a679f1cc (diff) | |
Planning for 0.2
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,3 +3,9 @@ pub mod compile; pub mod diagnostics; pub mod parse; pub mod tokenize; + +pub const VOID_TAGS: &[&str] = &[ + "area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", + "track", "wbr", "import", +]; +pub const ALLOWED_TOP_LEVEL_TAGS: &[&str] = &["import", "const", "block", "head", "body"]; |
