mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Use escape more consistently
여기저기 htmlspecialchars가 들어 있는 것을 escape로 통일
This commit is contained in:
parent
d63da57045
commit
c54fa8dab1
14 changed files with 44 additions and 45 deletions
|
|
@ -1056,7 +1056,7 @@ class moduleController extends module
|
|||
}
|
||||
}
|
||||
|
||||
$output = preg_replace_callback('!\$user_lang->([a-z0-9\_]+)!is', function($matches) use($lang) {
|
||||
$output = preg_replace_callback('/(?<!value=")\$user_lang-(?:>|>)([a-z0-9\_]+)/is', function($matches) use($lang) {
|
||||
if(isset($lang[$matches[1]]) && !Context::get($matches[1]))
|
||||
{
|
||||
return $lang[$matches[1]];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue