Fix escaping and userlang encoding of site keywords and description

This commit is contained in:
Kijin Sung 2016-05-08 23:29:47 +09:00
parent faf4b1ea54
commit f84715db5b
3 changed files with 7 additions and 6 deletions

View file

@ -1073,7 +1073,7 @@ class moduleController extends module
{
if($isReplaceLangCode)
{
$output = preg_replace_callback('!\$user_lang->([a-z0-9\_]+)!is', array($this,'_replaceLangCode'), $output);
$output = preg_replace_callback('!\$user_lang-(?:>|&(?:amp;)?gt;)([a-z0-9\_]+)!is', array($this,'_replaceLangCode'), $output);
}
}