From 79efa8bf5efed69fafc558968d51da4dbdd9cfd1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 16 Sep 2020 00:04:27 -0700 Subject: Another fix --- grammars/html.bpeg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 / !(")$.) ("); -- cgit v1.2.3