remove redundant trailing whitespace of tags when parsing gallery detail
This commit is contained in:
1 parent
34632342fc
commit
b48b38e8c4
1 file changed
+1
-1
@@ -303,7 +303,7 @@ public class GalleryDetailParser {
|
||||
// Sometimes parody tag is followed with '|' and english translate, just remove them
|
||||
int index = tag.indexOf('|');
|
||||
if (index >= 0) {
|
||||
tag = tag.substring(0, index);
|
||||
tag = tag.substring(0, index).trim();
|
||||
}
|
||||
group.addTag(tag);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user