diff options
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__`>); |
