Remove useless soft hyphens

pull/194/merge
M66B 3 years ago
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…
Cancel
Save