mirror of https://github.com/M66B/FairEmail.git
Suppress extra spaces
This commit is contained in:
parent
46dd99e82e
commit
35cf9faf62
|
@ -674,7 +674,9 @@ public class HtmlHelper {
|
|||
newline();
|
||||
tlevel = qlevel;
|
||||
}
|
||||
if (!nl)
|
||||
if (!nl &&
|
||||
(text != null && !text.startsWith(" ")) &&
|
||||
(sb.length() > 0 && sb.charAt(sb.length() - 1) != ' '))
|
||||
sb.append(" ");
|
||||
sb.append(text);
|
||||
nl = false;
|
||||
|
|
Loading…
Reference in New Issue