Skip to content

Commit

Permalink
Remove needless repetition of parsers.attrid
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko authored Aug 25, 2023
1 parent 9571374 commit e1a4286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lunamark/reader/markdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ parsers.attrvalue = (parsers.dquote
* parsers.squote)
+ C((parsers.anyescaped - parsers.dquote - parsers.space - P("}"))^1)

parsers.attrpair = Cg(C((parsers.attrid)^1)
parsers.attrpair = Cg(C(parsers.attrid)
* parsers.optionalspace * parsers.equal * parsers.optionalspace
* parsers.attrvalue)
* parsers.optionalspace^-1
Expand Down

0 comments on commit e1a4286

Please sign in to comment.