Skip to content

Tera templates don't get highlighted when quoted in HTML files #1

@LunarEclipse363

Description

@LunarEclipse363

Current Behaviour

In htmltera files, when a tera template appears in quotes, it's treated as plaintext instead of a tera template.

Example:

<img src="/images/example.png" alt="{{ fluent(key="example-alt-text") }}" />

image

Expected Behaviour

HTML quoting shouldn't influence tera template detection, and the tera template should be highlighted like it is outside of quotes:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions