fhd / clostache

{{ mustache }} for Clojure
GNU Lesser General Public License v3.0
318 stars 62 forks source link

[FIX] string are seqable, but (maybe) you want to render it instead o… #57

Open luhhujbb opened 6 years ago

luhhujbb commented 6 years ago

…f iterate over it

In my template, I don't wan't to iterate over string. example {{#greet}}Hello, World!{{/greet}}

with {:greet "true"} ;;(not booelan true, but string)

will return Hello, World!Hello, World!Hello, World!Hello, World!

This is for me a bit weird.

ayato-p commented 6 years ago

I need this PR! @fhd Could you merge this and release to Clojars?

luhhujbb commented 6 years ago

I've deployed my version into clojars as luhhujbb/clostache