Skip to content

[TwigComponent] Ignore twig comments when prelexing #842

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

Merged

Conversation

WebMamba
Copy link
Contributor

@WebMamba WebMamba commented May 3, 2023

Q A
Bug fix? yes
New feature? no
Tickets Fix #838
License MIT

This PR ignores {# twig comments content. Is this really the only way to comment in Twig 🤔?

@WebMamba WebMamba changed the title Ignore twig comments when prelexing [TwigComponent] Ignore twig comments when prelexing May 3, 2023
@weaverryan weaverryan force-pushed the matheo/ignore_twig_comment_when_prelexing branch from 20a2ee0 to b5dff5b Compare May 3, 2023 18:45
@weaverryan
Copy link
Member

Super fast - thank you Matheo!

@weaverryan weaverryan merged commit 846b671 into symfony:2.x May 3, 2023
@norkunas
Copy link
Contributor

norkunas commented May 4, 2023

something is not right still after this pr:

image

image

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.

[TwigComponent] Component with html syntax erroring
4 participants