|
|
@ -55,8 +55,6 @@ exports.compile = (template, input) => { |
|
|
|
break |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
console.log(index, nextClose) |
|
|
|
if(nextClose == index || nextClose == -1) { |
|
|
|
index = template.length |
|
|
|
} else { |
|
|
@ -80,7 +78,7 @@ exports.compile = (template, input) => { |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
return tags |
|
|
|
return template |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|