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

Twig component inside verbatim tag still gets translated to twig notation #31

Open
jiricerhan opened this issue Jan 16, 2025 · 0 comments

Comments

@jiricerhan
Copy link

jiricerhan commented Jan 16, 2025

Hi, when I use verbatim tag in twig, twig components seems to partialy ignore it. It is printed as text but first parsed to twig notation. Is there a way how to prevent this behavior?

Thanks

Example

{% verbatim %}
 <x-components.component>test</x-components.component>
{% endverbatim %}

Retult

{% x:components.component with {} %}test{% endx %}

Expected behavior
Original source get's printed.

 <x-components.component>test</x-components.component>
@jiricerhan jiricerhan changed the title Twig component inside verbatim tag still gets translate to twig notation Twig component inside verbatim tag still gets translated to twig notation Jan 16, 2025
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

No branches or pull requests

1 participant