mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
render undefined to ''
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ var render = {
|
||||
break;
|
||||
case 'output':
|
||||
var val = this.evalOutput(template, scope);
|
||||
html += stringify(val);
|
||||
html += val === undefined ? '' : stringify(val);
|
||||
}
|
||||
});
|
||||
return html;
|
||||
|
||||
Reference in New Issue
Block a user