Skip to content

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

Description

@jiricerhan

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions