aboutsummaryrefslogtreecommitdiff
path: root/luxc/src
diff options
context:
space:
mode:
Diffstat (limited to 'luxc/src')
-rw-r--r--luxc/src/lux/compiler/js/lux.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/luxc/src/lux/compiler/js/lux.clj b/luxc/src/lux/compiler/js/lux.clj
index 5103b2d2b..4e7ddd8fd 100644
--- a/luxc/src/lux/compiler/js/lux.clj
+++ b/luxc/src/lux/compiler/js/lux.clj
@@ -46,7 +46,7 @@
(return (str value)))
(defn compile-char [value]
- (return (str "{C:\"" value "\"}")))
+ (return (str "{C:" (pr-str (str value)) "}")))
(defn compile-text [?value]
(return (pr-str ?value)))