diff options
Diffstat (limited to 'grammars/html.bp')
| -rw-r--r-- | grammars/html.bp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grammars/html.bp b/grammars/html.bp index 483db6a..457a183 100644 --- a/grammars/html.bp +++ b/grammars/html.bp @@ -8,15 +8,15 @@ doctype: "<!DOCTYPE" ..%\n `> -html-element: void-element / raw-element / template-element / normal-element +element: void-element / raw-element / template-element / normal-element void-element: `< ("area"/"base"/"br"/"col"/"embed"/"hr"/"img"/"input"/"link"/"meta"/"param"/"source"/"track"/"wbr") __attributes__ [`/] __ `> -template-element: "<template>" ..%(\n / comment / html-element) "</template>" +template-element: "<template>" ..%(\n / comment / element) "</template>" raw-element: `< @tag=("script"/"style"/"textarea"/"title") __attributes__ `> ..%\n ("</"tag__`>) -normal-element: `< @tag=id __attributes__ `> ..%(\n / comment / html-element) ("</"tag`>) +normal-element: `< @tag=id __attributes__ `> ..%(\n / comment / element) ("</"tag`>) comment: "<!--" ..%\n "-->" |
