summaryrefslogtreecommitdiff
path: root/js/lib/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/blocks.js')
-rw-r--r--js/lib/blocks.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index a83bccf..f948e8b 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -572,11 +572,11 @@ var finalize = function(block, line_number) {
break;
case 'HtmlBlock':
- block.c = block.strings.join('\n');
+ block.literal = block.strings.join('\n');
break;
case 'IndentedCode':
- block.c = block.strings.join('\n').replace(/(\n *)*$/, '\n');
+ block.literal = block.strings.join('\n').replace(/(\n *)*$/, '\n');
block.t = 'CodeBlock';
break;
@@ -584,9 +584,9 @@ var finalize = function(block, line_number) {
// first line becomes info string
block.info = unescapeString(block.strings[0].trim());
if (block.strings.length === 1) {
- block.c = '';
+ block.literal = '';
} else {
- block.c = block.strings.slice(1).join('\n') + '\n';
+ block.literal = block.strings.slice(1).join('\n') + '\n';
}
block.t = 'CodeBlock';
break;