Skip to content

Commit

Permalink
fix(inputs): Disallow 'begin' and 'end' as environment names
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jul 13, 2020
1 parent 30e3f99 commit b13b99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/inputs-texlike.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ SILE.inputs.TeXlike.parser = function (_ENV)
P"\\begin" *
Cg(parameters, "options") *
P"{" *
Cg(myID, "command") *
Cg(myID - P"begin" - P"end", "command") *
P"}" *
(
(Cmt(Cb"command", isPassthrough) * V"passthrough_env_stuff") +
Expand Down

0 comments on commit b13b99a

Please sign in to comment.