Fix #1247: Empty highlighted hashtags

This commit is contained in:
0xd9a 2025-06-10 01:42:41 +05:30
parent 1b0c0b13b4
commit 1358a83eb9

View file

@ -124,7 +124,7 @@ public class SpannableHelper {
String[] tags = new String[]{};
while (matcherBottomTags.find()) {
String stringTags = Objects.requireNonNull(matcherBottomTags.group()).trim();
tags = stringTags.split("\\s");
tags = stringTags.split("\\s\\n?");
}
return tags;
}