diff --git a/test/_files/escaped.js b/test/_files/escaped.js index e600959..4276a39 100644 --- a/test/_files/escaped.js +++ b/test/_files/escaped.js @@ -2,5 +2,6 @@ title: function () { return "Bear > Shark"; }, + symbol: null, entities: "" \"'<>`=/" }) diff --git a/test/_files/escaped.mustache b/test/_files/escaped.mustache index 93e800b..5c44268 100644 --- a/test/_files/escaped.mustache +++ b/test/_files/escaped.mustache @@ -1,2 +1,2 @@ -

{{title}}

+

{{title}}{{symbol}}

And even {{entities}}, but not {{{entities}}}. diff --git a/test/_files/null_lookup_object.js b/test/_files/null_lookup_object.js index 0f82480..2f2efd7 100644 --- a/test/_files/null_lookup_object.js +++ b/test/_files/null_lookup_object.js @@ -1,31 +1,31 @@ ({ - "name": "David", - "twitter": "@dasilvacontin", - "fobject": [ - { - "name": "Flor", - "twitter": "@florrts" - }, - { - "name": "Miquel", - "twitter": null - }, - { - "name": "Chris", - "twitter": undefined - } - ], - "favorites": { - "color": "blue", - "president": "Bush", - "show": "Futurama" + "name": "David", + "twitter": "@dasilvacontin", + "fobject": [ + { + "name": "Flor", + "twitter": "@florrts" + }, + { + "name": "Miquel", + "twitter": null }, - "mascot": { - "name": "Squid", - "favorites": { - "color": "orange", - "president": undefined, - "show": null - } + { + "name": "Chris", + "twitter": undefined + } + ], + "favorites": { + "color": "blue", + "president": "Bush", + "show": "Futurama" + }, + "mascot": { + "name": "Squid", + "favorites": { + "color": "orange", + "president": undefined, + "show": null } + } }) diff --git a/test/_files/unescaped.js b/test/_files/unescaped.js index b6d064f..0659b69 100644 --- a/test/_files/unescaped.js +++ b/test/_files/unescaped.js @@ -1,5 +1,6 @@ ({ title: function () { return "Bear > Shark"; - } + }, + symbol: null }) diff --git a/test/_files/unescaped.mustache b/test/_files/unescaped.mustache index 6b07d7b..1a27f58 100644 --- a/test/_files/unescaped.mustache +++ b/test/_files/unescaped.mustache @@ -1 +1 @@ -

{{{title}}}

+

{{{title}}}{{{symbol}}}