Skip to content

Infinite loop when rendering a template with a template inside #59

@marcomorain

Description

@marcomorain

Hi there 👋

I've hit an issue where a call to render never returns: (Using [cljstache "2.0.1"])

user=> (require 'cljstache.core)
nil
user=> (cljstache.core/render "{{ foo }}" {:foo "{{ foo }}"})
"{{ foo }}" ;; This works OK
user=> (cljstache.core/render "{{ foo.a }}" {:foo {:a "{{ foo.a }}"}})
;; This never returns

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions