mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
0848f2ad3c 보완
This commit is contained in:
parent
0848f2ad3c
commit
6beae3b620
2 changed files with 7 additions and 8 deletions
|
|
@ -363,7 +363,7 @@ class commentItem extends BaseObject
|
|||
{
|
||||
$content = cut_str($content, $strlen, '...');
|
||||
}
|
||||
return escape($content, false);
|
||||
return escape($content);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -388,13 +388,13 @@ class commentItem extends BaseObject
|
|||
{
|
||||
$content = $this->get('content');
|
||||
}
|
||||
|
||||
|
||||
$content = trim(utf8_normalize_spaces(html_entity_decode(strip_tags($content))));
|
||||
if($strlen)
|
||||
{
|
||||
$content = trim(utf8_normalize_spaces(html_entity_decode(strip_tags($content))));
|
||||
$content = cut_str($content, $strlen, '...');
|
||||
}
|
||||
return escape($content, false);
|
||||
return escape($content);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue