mirror of
https://codeberg.org/tom79/Fedilab
synced 2025-02-01 20:07:12 +01:00
Respect blank spaces between words
This commit is contained in:
parent
b428cf4de9
commit
3a1671ae38
@ -185,6 +185,8 @@ public class SpannableHelper {
|
||||
urlDetails.put(url, urlText);
|
||||
}
|
||||
}
|
||||
text = text.trim().replaceAll("\\s{3}", " ");
|
||||
text = text.trim().replaceAll("\\s{2}", " ");
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
|
||||
initialContent = new SpannableString(Html.fromHtml(text, Html.FROM_HTML_MODE_LEGACY));
|
||||
else
|
||||
|
@ -4,6 +4,7 @@ Added:
|
||||
|
||||
Changed:
|
||||
- Display translate button only when language is different
|
||||
- Respect blank spaces between words in messages
|
||||
|
||||
Fixed:
|
||||
- Behavior with cw toggle
|
||||
|
Loading…
x
Reference in New Issue
Block a user