mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
Initial implementation of view comment screen
This commit is contained in:
parent
07da55ba8e
commit
a85c3ccb01
10 changed files with 109 additions and 2 deletions
|
|
@ -340,7 +340,7 @@ class commentItem extends Object
|
|||
|
||||
if($strlen)
|
||||
{
|
||||
return cut_str(strip_tags($content), $strlen, '...');
|
||||
return cut_str(trim(strip_tags($content)), $strlen, '...');
|
||||
}
|
||||
|
||||
return htmlspecialchars($content, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue