fhd / clostache

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

Dollar sign fails. #50

Closed thesoftwarephilosopher closed 7 years ago

thesoftwarephilosopher commented 8 years ago

The test named test-render-with-dollar-sign is currently failing on version 1.4.0

(= "Hello, $Felix!" (render "Hello, {{! This is a comment.}}{{name}}!"
                            {:name "$Felix"}))
; => false

(render "Hello, {{! This is a comment.}}{{name}}!"
        {:name "$Felix"})
; => "Hello, \\$Felix!"
fotoetienne commented 7 years ago

This issue is resolved in my fork of clostache: https://github.com/fotoetienne/cljstache

fhd commented 7 years ago

Should have been fixed by https://github.com/fhd/clostache/commit/a30c5a7db521cfc31c1b63e8df4398a7c677d574, same as #43. Please reopen if you disagree.

thesoftwarephilosopher commented 7 years ago

@fhd 👍