Skip to content

Commit 9908bda

Browse files
committed
Merge branch 'master' of github.com:clj-python/libpython-clj
2 parents e0e780f + e590bb9 commit 9908bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libpython_clj2/codegen.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
;;nils and boolean require no extra formatting
7171
(or (nil? vv) (boolean? vv)) vv
7272
;;string values should be output surrounded by double quotes
73-
(string? vv) (format "\"%s\"" vv)
73+
(string? vv) (format "\"%s\"" (escape-quotes vv))
7474
;;NaN is a number and should use the proper reader macro
7575
(and (number? vv) (Double/isNaN vv)) "##NaN"
7676
;;Finite, non NAN numbers should be treated as literals

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy