Small layout improvement

This commit is contained in:
M66B
2022-01-08 14:03:13 +01:00
parent f0cf46db94
commit 98d5b95092
2 changed files with 4 additions and 3 deletions

View File

@@ -2400,8 +2400,8 @@ public class HtmlHelper {
ByteArrayInputStream bis = new ByteArrayInputStream(headers.getBytes());
String[] received = new InternetHeaders(bis).getHeader("Received");
if (received != null && received.length > 0) {
ssb.append('\n');
for (int i = received.length - 1; i >= 0; i--) {
ssb.append('\n');
String h = MimeUtility.unfold(received[i]);
int semi = h.lastIndexOf(';');
@@ -2470,7 +2470,7 @@ public class HtmlHelper {
if (tls != null)
ssb.setSpan(new ForegroundColorSpan(tls ? colorVerified : colorWarning), t, ssb.length(), 0);
ssb.append("\n\n");
ssb.append("\n");
}
}
} catch (Throwable ex) {