diff --git a/packages/renderer/HtmlToHtml.test.ts b/packages/renderer/HtmlToHtml.test.ts
index 6f0e1648bb..6db71e9846 100644
--- a/packages/renderer/HtmlToHtml.test.ts
+++ b/packages/renderer/HtmlToHtml.test.ts
@@ -32,6 +32,19 @@ describe('HtmlToHtml', () => {
css: '',
},
],
+ // cSpell:disable
+ [
+ `
+
-------- Message transféré --------`,
+ {
+ html: `
+
-------- Message transféré --------`,
+ css: '',
+ },
+ ],
+ // cSpell:enable
];
for (const t of testCases) {
diff --git a/packages/renderer/HtmlToHtml.ts b/packages/renderer/HtmlToHtml.ts
index abd4d99ed0..d5ba506318 100644
--- a/packages/renderer/HtmlToHtml.ts
+++ b/packages/renderer/HtmlToHtml.ts
@@ -180,7 +180,7 @@ export default class HtmlToHtml implements MarkupRenderer {
}
}
-const splitHtmlRegex = /^