mirror of https://github.com/M66B/FairEmail.git
Remove useless soft hyphens
This commit is contained in:
parent
c9fac1eabb
commit
83478a54fc
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue