summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/lib/html.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/html.js b/js/lib/html.js
index 2e93671..74a854c 100644
--- a/js/lib/html.js
+++ b/js/lib/html.js
@@ -70,7 +70,7 @@ var renderNodes = function(block) {
switch (node.type) {
case 'Text':
- out(esc(node.literal));
+ out(esc(node.literal, false));
break;
case 'Softbreak':
@@ -125,7 +125,7 @@ var renderNodes = function(block) {
break;
case 'Code':
- out(tag('code') + esc(node.literal) + tag('/code'));
+ out(tag('code') + esc(node.literal, false) + tag('/code'));
break;
case 'Document':
@@ -204,7 +204,7 @@ var renderNodes = function(block) {
}
cr();
out(tag('pre') + tag('code', attrs));
- out(esc(node.literal));
+ out(esc(node.literal, false));
out(tag('/code') + tag('/pre'));
cr();
break;