mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Suppress extra spaces
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user