This commit is contained in:
FongMi 2024-06-11 22:27:12 +08:00
parent 1ca51ac6ae
commit 1b78db2f97
3 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -1 +1 @@
994f86fc0ed7b55fd03914d9ffbb251c 24ad1dd951b4ccf758ea94731df6035f