mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
parent
d78b8e8415
commit
f58c3e2db2
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ class TemplateParser_v1
|
||||||
{
|
{
|
||||||
if (preg_match('/^\$[\\\\\w\[\]\'":>-]+$/i', $str))
|
if (preg_match('/^\$[\\\\\w\[\]\'":>-]+$/i', $str))
|
||||||
{
|
{
|
||||||
$str = preg_match('/^\$lang->/', $str) ? $str : "$str ?? ''";
|
$str = preg_match('/^\$(__Context->)?lang->/', $str) ? $str : "$str ?? ''";
|
||||||
}
|
}
|
||||||
|
|
||||||
switch($escape_option)
|
switch($escape_option)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue