allow multiline support for translator

see: https://github.com/psychobunny/templates.js/issues/36
v1.18.x
psychobunny 10 years ago
parent 3a21329c5e
commit 5ff9a7f9a9

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

Loading…
Cancel
Save