fix(mail): German spacing for invoice draft template

Separate paragraphs with blank lines; mailbox signature uses Synapse MXID.
This commit is contained in:
2026-08-06 13:25:53 +01:00
parent 73b1050a83
commit 7f35b0e910
3 changed files with 19 additions and 2 deletions
+4
View File
@@ -83,6 +83,10 @@ func TestPlainTextToMailHTML(t *testing.T) {
if PlainTextToMailHTML(html) != html {
t.Fatalf("html passthrough failed")
}
spaced := MailHTMLWithBlankParagraphs("<p>A</p>\n<p>B</p>")
if spaced != "<p>A</p>\n<p>&nbsp;</p>\n<p>B</p>" {
t.Fatalf("spaced: %q", spaced)
}
}
func TestInt64FromMap(t *testing.T) {