We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In some cases, it might be useful to support optional end tags. A typical example is the {#let} section.
{#let}
Currently, the end tag is mandatory and defines the scope of the "local variables":
{#let foo=true} // foo can be used here {/let} // foo cannot be used here
However, it might be practical to make the end tag optional and bind the section to the parent:
{#let foo=true} // foo can be used here // synthetic {/let} added automatically
// foo cannot be used here {#if baz} {#let foo=true} // foo can be used here // synthetic {/let} added automatically {/if} // foo cannot be used here
By default, a missing end tag still results in a parser error. The strategy used will be controlled by the relevant SectionHelperFactory.
SectionHelperFactory
No response
The text was updated successfully, but these errors were encountered:
Qute - support optional end tags for sections
481400f
- resolves quarkusio#33293
0fbcda5
79ec4a7
mkouba
Successfully merging a pull request may close this issue.
Description
In some cases, it might be useful to support optional end tags. A typical example is the
{#let}
section.Currently, the end tag is mandatory and defines the scope of the "local variables":
However, it might be practical to make the end tag optional and bind the section to the parent:
By default, a missing end tag still results in a parser error. The strategy used will be controlled by the relevant
SectionHelperFactory
.Implementation ideas
No response
The text was updated successfully, but these errors were encountered: