Skip to content

File tree expands too much 😄 #2

@DeznekCZ

Description

@DeznekCZ

Original: Digitalbrainstem/ejs-grammar#89

Steps to reproduce:

Used in example image:

<% authorized = authorized ? true : false; %>
<% if (authorized) { %>
    <% let originalSelector = selector; %>
    <% selector = { type: 'undefined' }; %>
    <% selector = originalSelector; %>
<% } %>
<html>
</html>

Expected result:

image

Question

Can be tags:

  • contianing no '{' '}' or pair of them marked as single line tags like <br>
  • matching <% .* { %> as open tags
  • matching <% } %> as close tags

I may be helpfull for closing of parent elements.

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