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

Stop using String token in pygments lexers #772

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

pierregoutagny
Copy link
Contributor

To fix #589, I remove any use of the String pygments token from the lexers, that was used extensively before. They are replaced by Whitespace or the generic Text where appropriate.

More manual testing is required: I had to update one unit tests to pass, but I don't know in what context the generated LaTeX code is supposed to be rendered, so I can't say if something is broken graphically. Similarly, I have issues compiling the syntax.pdf file on my computer (with or without the fix) so I can't check if it is broken.

@AltGr AltGr requested a review from denismerigoux January 13, 2025 09:26
Copy link
Contributor

@denismerigoux denismerigoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pierregoutagny !

@AltGr AltGr merged commit d4ee59c into CatalaLang:master Jan 15, 2025
5 checks passed
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.

Pygments lexer breaks LaTeX escapeinside
3 participants