Improved the regex for searching i18n strings in templates

This commit is contained in:
Franck Allimant
2014-04-21 01:03:08 +02:00
parent b768d15eac
commit 7dd6203de7

View File

@@ -174,7 +174,7 @@ class TemplateHelper
$allowed_exts = array('php');
} elseif ($walkMode == self::WALK_MODE_TEMPLATE) {
$prefix = "\\{intl(?:.*?)l=";
$prefix = '\{intl(?:.*?)l=[\s]*';
$allowed_exts = array('html', 'tpl', 'xml');
} else {