We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0e780f + e590bb9 commit 9908bdaCopy full SHA for 9908bda
src/libpython_clj2/codegen.clj
@@ -70,7 +70,7 @@
70
;;nils and boolean require no extra formatting
71
(or (nil? vv) (boolean? vv)) vv
72
;;string values should be output surrounded by double quotes
73
- (string? vv) (format "\"%s\"" vv)
+ (string? vv) (format "\"%s\"" (escape-quotes vv))
74
;;NaN is a number and should use the proper reader macro
75
(and (number? vv) (Double/isNaN vv)) "##NaN"
76
;;Finite, non NAN numbers should be treated as literals
0 commit comments