1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-25 07:23:03 +00:00

Remove useless soft hyphens

This commit is contained in:
M66B 2022-02-15 15:57:53 +01:00
parent c9fac1eabb
commit 83478a54fc

View file

@ -2771,6 +2771,10 @@ public class HtmlHelper {
(i == 0 || endsWithSpace(block.get(i - 1).text())))
text = text.substring(1);
// Soft hyphen
if (text.trim().equals("\u00ad"))
text = "";
tnode.text(text);
if (TextUtils.isEmpty(text))