function.php
function htmlentities_custom($str) {
return htmlentities($str, ENT_QUOTES);
}
config.php
return [
'DEFAULT_FILTER' => 'htmlentities_custom',
];
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/288304.html
function htmlentities_custom($str) {
return htmlentities($str, ENT_QUOTES);
}
return [
'DEFAULT_FILTER' => 'htmlentities_custom',
];
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/288304.html