mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 19:32:15 +09:00
Fix #872 remove weird characters from tags
This commit is contained in:
parent
4bc0a14dd1
commit
094f1bf0d1
2 changed files with 18 additions and 14 deletions
|
|
@ -142,7 +142,7 @@ class documentItem extends Object
|
|||
if($this->get('tags'))
|
||||
{
|
||||
$tag_list = explode(',', $this->get('tags'));
|
||||
$tag_list = array_map('trim', $tag_list);
|
||||
$tag_list = array_map('utf8_trim', $tag_list);
|
||||
$this->add('tag_list', $tag_list);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue