Skip to content

Twig template rendering #24

Description

@hoxhaj

I am rendering a twig template and modifying the html. I can modify the html but it breaks the twig string.

After i load the .twig file this div:

<div {{ not variable_name ? 'class="class_name"' }} id="id_name">

turns to:

<div {{ not variable_name ? 'class="class_name" }} id="id_name">

'class="class_name"<=== the single quote after the double quotes is lost.

I wanted to know if there is an option to set for this purpose or this case is not handled.

Thanks!

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