arohner / scriptjure

a Clojure library for generating javascript
187 stars 15 forks source link

Single quotes not escaped #4

Closed gilesc closed 14 years ago

gilesc commented 14 years ago

Hi again! Here's another one that just bit me on v0.1.11:

(js (var x "it's")) => "var x = 'it's'"

(I'm not sure, this behavior might be intentional and the user is expected to escape strings?)

arohner commented 14 years ago

Sorry it took me so long to get around to these. They're fixed in HEAD, and will be in the next release, 0.1.12