Visitar URL original
Allow variable containing template by liquidz · Pull Request #28 · fhd/clostache · GitHub
Skip to content

Allow variable containing template - #28

Merged
fhd merged 1 commit into
fhd:masterfrom
liquidz:bugfix
Apr 10, 2013
Merged

fhd merged 1 commit into
fhd:masterfrom
liquidz:bugfix

Conversation

@liquidz

@liquidz liquidz commented Apr 1, 2013

Copy link
Copy Markdown
Contributor

Clostache cannot render following template correctly.

mustache:

puts Mustache.render("{{a}}-{{b}}", {:a => "{{b}}", :b => "c"})
# => "{{b}}-c"

clostache:

(println (render "{{a}}-{{b}}" {:a "{{b}}" :b "c"}))
; => "c-"

fhd added a commit that referenced this pull request Apr 10, 2013
Allow variable containing template
@fhd
fhd merged commit 050d91c into fhd:master Apr 10, 2013
@fhd

fhd commented Apr 10, 2013

Copy link
Copy Markdown
Owner

Thanks, merged! Glad to be rid of that hack 😊

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants