mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Move unit test for TemplateParser v1
This commit is contained in:
parent
f13e3d633b
commit
a640306123
5 changed files with 32 additions and 28 deletions
|
|
@ -784,7 +784,9 @@ class TemplateParser_v2
|
|||
$escape_option = $filter;
|
||||
break;
|
||||
case 'escapejs':
|
||||
case 'js':
|
||||
$str = "escape_js({$str})";
|
||||
$escape_option = 'noescape';
|
||||
break;
|
||||
case 'json':
|
||||
$str = "json_encode({$str}, \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES)";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue