Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested blocks triggering error #184

Open
martinbohmcz opened this issue Nov 11, 2021 · 0 comments
Open

Nested blocks triggering error #184

martinbohmcz opened this issue Nov 11, 2021 · 0 comments
Labels

Comments

@martinbohmcz
Copy link

Describe the bug
When I use nested block, and error is triggered.

Environment (please complete the following information):

  • PhpStorm version 20212.2.3
  • Plugin version 1.1.4-alfa4 (but it occurs also in stable version 1.1.3)

To Reproduce
Type-in the code blow.

Code

{block content}
    {block title}
        Title
    {/block}
    …
{/block}

The last {/block} is underlined with error: ", LatteTokenType.T_HTML_TAG_NATTR_NAME, LatteTokenType.T_MACRO_COMMENT or LatteTokenType.T_MACRO_OPEN_TAG_OPEN expected, got '{/'".

It is similar problem as in previously closed #109

@mesour mesour added the bug label Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants