Fix bug
This commit is contained in:
parent
1ca51ac6ae
commit
1b78db2f97
|
|
@ -274,7 +274,7 @@ public class NiNi extends Spider {
|
||||||
|
|
||||||
private String convert(String text) {
|
private String convert(String text) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (String s : text.split(",")) sb.append(String.format("[a=cr:{\"id\":\"%s\",\"name\":\"%s\"}/]%s[/a]", s + "/{pg}", s, s)).append(",");
|
for (String s : text.split(",")) if (!TextUtils.isEmpty(s)) sb.append(String.format("[a=cr:{\"id\":\"%s\",\"name\":\"%s\"}/]%s[/a]", s + "/{pg}", s, s)).append(",");
|
||||||
return Util.substring(sb.toString());
|
return Util.substring(sb.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
994f86fc0ed7b55fd03914d9ffbb251c
|
24ad1dd951b4ccf758ea94731df6035f
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue