aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-16 00:04:27 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-16 00:04:27 -0700
commit79efa8bf5efed69fafc558968d51da4dbdd9cfd1 (patch)
treeada0157816276b0f96f2cd87e3f017abedbf20ae
parentc1e489048f7b860c1342b04fa7b3a6baced6ee39 (diff)
Another fix
-rw-r--r--grammars/html.bpeg2
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__`>);