mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-14 07:30: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[]{};
|
String[] tags = new String[]{};
|
||||||
while (matcherBottomTags.find()) {
|
while (matcherBottomTags.find()) {
|
||||||
String stringTags = Objects.requireNonNull(matcherBottomTags.group()).trim();
|
String stringTags = Objects.requireNonNull(matcherBottomTags.group()).trim();
|
||||||
tags = stringTags.split("\\s");
|
tags = stringTags.split("\\s\\n?");
|
||||||
}
|
}
|
||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue