mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
#66 install php version check
#16 install rewrite module usable check #48 htmlspecialchars function params add
This commit is contained in:
parent
51b6b21cf2
commit
736f382b27
93 changed files with 240 additions and 215 deletions
|
|
@ -307,7 +307,7 @@ class commentController extends comment
|
|||
{
|
||||
if($obj->use_html != 'Y')
|
||||
{
|
||||
$obj->content = htmlspecialchars($obj->content);
|
||||
$obj->content = htmlspecialchars($obj->content, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||
}
|
||||
$obj->content = nl2br($obj->content);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue