diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-05 00:09:30 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-05 00:09:30 -0800 |
| commit | 4350d996d1f4987ae83569acfdec2e25b996f599 (patch) | |
| tree | 835ab3332ec593c748f4eabd7490266b2e22aa30 /grammars/html.bp | |
| parent | 8d14bf01bc3c3cfbb3613487b59fe0bc4d6efba6 (diff) | |
Simplified `...` to `..%\n` and `$.` to `./\n`
Diffstat (limited to 'grammars/html.bp')
| -rw-r--r-- | grammars/html.bp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/grammars/html.bp b/grammars/html.bp index 9ec33b6..c820b4b 100644 --- a/grammars/html.bp +++ b/grammars/html.bp @@ -7,13 +7,13 @@ html-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>"...("</template>") % (comment / html-element) +template-element: "<template>".."</template>" % (\n / comment / html-element) -raw-element: `< @tag=("script"/"style"/"textarea"/"title") __attributes__ `>...("</"tag__`>) +raw-element: `< @tag=("script"/"style"/"textarea"/"title") __attributes__ `>..("</"tag__`>)%\n -normal-element: `< @tag=id __attributes__ `>...("</"tag`>) % (comment / html-element) +normal-element: `< @tag=id __attributes__ `>..("</"tag`>) % (\n / comment / html-element) -comment: "<!--" ..."-->" +comment: "<!--" .."-->" % \n attributes: *attribute%__ attribute: (+id%`:)__`=__ (id / `" ..`" / `' ..`') |
