Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeX.pm: allow verbatim environment declaration without trailing space #407

Merged
merged 1 commit into from
May 1, 2023

Conversation

MayeulC
Copy link
Contributor

@MayeulC MayeulC commented May 1, 2023

Previously, a trailing space was matched by \s+, but this is counter-intuitive, and couldn't make it work before digging in the code.

Match the behavior of non-verbatim environment by making it \s* (allowing, but not requiring trailing spaces).

Previously, a trailing space was matched by \s+, but this is counter-intuitive, and couldn't make it work before digging in the code.

Match the behavior of non-verbatim environment by making it \s* (allowing, but not requiring trailing spaces).
@mquinson
Copy link
Owner

mquinson commented May 1, 2023

Thanks a lot, I'll merge this one as soon as the tests are done.

@mquinson mquinson merged commit 7419ec9 into mquinson:master May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants