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
Twig: Parse error with data-prettydiff-ignore #625
Comments
Other maybe related errors we see when we run it over all the twig code. Haven't yet figured out what is triggering those.
|
@rubas leverage the sparser ignore comments, eg:
|
Thanks. Helps but that is what |
There are some conflicts with PrettyDiff I've noticed since I've worked with it. We use the Liquid parser which is similar to the Twig parser. If you're defining the language as The way we combat this is to set language to Hope it helps. |
Source
Problem
vendor/bin/prettydiff.sh test.twig
It works as expected after deleting the
data-prettydiff-ignore
attributeThis works
The text was updated successfully, but these errors were encountered: