Initial implementation of view comment screen

This commit is contained in:
Kijin Sung 2017-02-10 22:17:29 +09:00
parent 07da55ba8e
commit a85c3ccb01
10 changed files with 109 additions and 2 deletions

View file

@ -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);