mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
feature: Allow hyphens in identifiers, working on #14
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ module.exports = function(Tag, Filter) {
|
||||
}
|
||||
|
||||
function parseOutput(str) {
|
||||
var match = lexical.value.exec(str);
|
||||
var match = lexical.matchValue(str);
|
||||
if(!match) throw new Error(`illegal output string: ${str}`);
|
||||
|
||||
var initial = match[0];
|
||||
|
||||
Reference in New Issue
Block a user