Skip to content

Defining directives for tags starting with # #404

@cossssmin

Description

@cossssmin

@Scrum how would you go about ensuring the parser/renderer leaves this code block alone and renders it as-is?

<#if count = 0>
    test
<#else>
    other
</#if>

Right now, the closing </#if> is turned into a comment and no tag is recognized, even if we define a directive like:

[{name: '#if', start: '<', end: '>'}]

Or maybe I'm doing something wrong in the directive? 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