aboutsummaryrefslogtreecommitdiff
path: root/grammars/html.bpeg
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/html.bpeg')
-rw-r--r--grammars/html.bpeg5
1 files changed, 2 insertions, 3 deletions
diff --git a/grammars/html.bpeg b/grammars/html.bpeg
index 451e61c..3a2d9f2 100644
--- a/grammars/html.bpeg
+++ b/grammars/html.bpeg
@@ -19,9 +19,8 @@ normal-element = `< @[tag](id==match-tag) __attributes__ `> >match-body @[body]0
comment = "<!--" ..."-->";
-attributes = 0+(!(attribute==match-attribute))%__ __(attribute==match-attribute)__ 0+attribute%__;
+attributes = 0+attribute%__;
attribute = (1+id%`:)__`=__ (id / `" ..`" / `' ..`');
attribute = (1+id%`:)__`=__ (id / `" ..`" / `' ..`');
-match-attribute = attribute;
match-tag = id;
-match-body = (/);
+match-body = '';