diff options
author | kpdecker <kpdecker@gmail.com> | 2014-08-23 16:37:30 -0500 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2014-08-23 16:37:30 -0500 |
commit | ccd803ff15e98186a82988a67d9aeff411612af4 (patch) | |
tree | 4197c4faab142795746df8bef7b5609433cd4aae /lib/handlebars/compiler/compiler.js | |
parent | 0528b9164488edc6031510997eb9dab4b64e4ea2 (diff) | |
download | handlebars.js-ccd803ff15e98186a82988a67d9aeff411612af4.zip handlebars.js-ccd803ff15e98186a82988a67d9aeff411612af4.tar.gz handlebars.js-ccd803ff15e98186a82988a67d9aeff411612af4.tar.bz2 |
Replace string value rather than add omit flag
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index a4bd09a..c7fdf3d 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -194,7 +194,7 @@ Compiler.prototype = { }, content: function(content) { - if (!content.omit) { + if (content.string) { this.opcode('appendContent', content.string); } }, |