mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
불필요한 부분 제거
This commit is contained in:
parent
eb339c8101
commit
35eae12cca
4 changed files with 5 additions and 18 deletions
|
|
@ -639,11 +639,8 @@ class documentItem extends Object
|
|||
// Convert temporarily html entity for truncate
|
||||
$content = html_entity_decode($content, ENT_QUOTES);
|
||||
|
||||
// Replace unicode whitespace characters (no-break space)
|
||||
$content = utf8_normalize_spaces($content);
|
||||
|
||||
// Replace all whitespaces to single space
|
||||
$content = trim(preg_replace('/\s+/', ' ', $content));
|
||||
$content = utf8_trim(utf8_normalize_spaces($content));
|
||||
|
||||
// Truncate string
|
||||
$content = cut_str($content, $str_size, $tail);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue