diff --git a/core/SSViewer.php b/core/SSViewer.php index 6ceb00688..6ed16af82 100755 --- a/core/SSViewer.php +++ b/core/SSViewer.php @@ -315,7 +315,7 @@ class SSViewer { $content = file_get_contents(SSViewer::getTemplateFile($identifier)); // $content = "". $content; - // Adds an i18n namespace to all <% _t(...) %> calls without an existing one + // Adds an i18n namespace to all _t(...) calls without an existing one // to avoid confusion when using the include in different contexts. // Entities without a namespace are deprecated, but widely used. $content = ereg_replace('<' . '% +_t\((\'([^\.\']*)\'|"([^\."]*)")(([^)]|\)[^ ]|\) +[^% ])*)\) +%' . '>', '', $content);