mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-13 23:20:29 +03:00
Fix #1247: Empty highlighted hashtags
This commit is contained in:
parent
1b0c0b13b4
commit
1358a83eb9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue