Fix #1551 incorrect conversion of jQuery template code in sitemap.xml (#1544 regression)

This commit is contained in:
Kijin Sung 2021-01-09 10:39:56 +09:00
parent 78452fc2cb
commit f4ad0dbb48

View file

@ -408,7 +408,7 @@ class TemplateHandler
//return origin code when src value started '${'. //return origin code when src value started '${'.
if(preg_match('@^\${@', $match[1])) if(preg_match('@^\${@', $match[1]))
{ {
return $match[0]; return $match[1];
} }
//return origin code when src value include variable. //return origin code when src value include variable.