Skip to content

too much recursion: that can lead to a infinite loop when resolving values #310

Description

@vybs

One of the use cases that can lead to this issue

{#male root="{title}" title="Mrs"}
{root}
{#names:female title="{title}" period="."}
{title}{period} {.}{~n}
{/names}
{/male}

too much recursion
elem = elem(this, context, null, {auto: auto, filters: filters});

{
"female" : { "title" : "Senorita" },
"title": "Sir",
"names": ['Javier'],
"male" : { "title" : "Senor" },
}

The issue is related to have same name aliases , title=title or title="{title}" in nested levels

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions