diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-16 00:04:27 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-16 00:04:27 -0700 |
| commit | 79efa8bf5efed69fafc558968d51da4dbdd9cfd1 (patch) | |
| tree | ada0157816276b0f96f2cd87e3f017abedbf20ae /grammars | |
| parent | c1e489048f7b860c1342b04fa7b3a6baced6ee39 (diff) | |
Another fix
Diffstat (limited to 'grammars')
| -rw-r--r-- | grammars/html.bpeg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/html.bpeg b/grammars/html.bpeg index f3d76fd..7af1f63 100644 --- a/grammars/html.bpeg +++ b/grammars/html.bpeg @@ -9,7 +9,7 @@ html-element = ( / >(`<("template")) template-element / normal-element); -void-element = `< @[tag](id==match-tag) __attributes__ `/? __ `>; +void-element = `< @[tag](id==match-tag) __attributes__ ?`/ __ `>; template-element = `< @[tag](id==match-tag) __`> __ >match-body @[body]0+(!`<$. / comment / html-element / !("</"tag__`>)$.) ("</"tag__`>); |
