allow multiline support for translator

see: https://github.com/psychobunny/templates.js/issues/36
This commit is contained in:
psychobunny
2015-06-22 16:19:31 -04:00
parent 3a21329c5e
commit 5ff9a7f9a9

View File

@@ -9,7 +9,7 @@
var languages = {},
regexes = {
match: /\[\[.*?\]\]/g,
match: /\[\[[\s\S]*?\]\]/g,
split: /[,][\s]*/,
replace: /\]+$/
};