remove redundant trailing whitespace of tags when parsing gallery detail

This commit is contained in:
LackOfDream authored and seven332 committed 2017-12-24 18:12:44 +08:00
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);
}