Fix #872 remove weird characters from tags

This commit is contained in:
Kijin Sung 2017-07-11 16:31:07 +09:00
parent 4bc0a14dd1
commit 094f1bf0d1
2 changed files with 18 additions and 14 deletions

View file

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