aboutsummaryrefslogtreecommitdiff
path: root/grammars/html.bpeg
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-16 21:47:48 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-16 21:47:48 -0700
commit9ee7102f51c60469659de752f119b1ecbd3c0ba7 (patch)
tree23cb1f8b50eb9009c94e0eda1950f03bca028acb /grammars/html.bpeg
parentd536f6a2ca46d4deed84eba38abdbbfc28207400 (diff)
Removed (/) (which is just a clunky way to do "")
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 = '';