Skip to content

Commit

Permalink
support json-ld, fix issue #28
Browse files Browse the repository at this point in the history
  • Loading branch information
fogfish committed Aug 2, 2016
1 parent f23d505 commit d953c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whiskers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@


// replace tags
template = template.replace(/(\\*){(?:([\w_.\-]+)|>([\w_.\-]+)|for +([\w_\-]+) +in +([\w_.\-]+)|if +(not +|)([\w_.\-]+)|\/(for|if))}/g, function(str, escapeChar, key, partial, iterVar, forKey, ifNot, ifKey, closeStatement, offset, s) {
template = template.replace(/(\\*){(?:([\w_.\-@]+)|>([\w_.\-@]+)|for +([\w_\-@]+) +in +([\w_.\-@]+)|if +(not +|)([\w_.\-@]+)|\/(for|if))}/g, function(str, escapeChar, key, partial, iterVar, forKey, ifNot, ifKey, closeStatement, offset, s) {
if (escapeChar) return str.replace('\\\\', '');
// {foo}
if (key) {
Expand Down

0 comments on commit d953c83

Please sign in to comment.