From 3a016304d6f721fe91cc291cddc2d0814fdee15a Mon Sep 17 00:00:00 2001 From: Cyril Date: Wed, 22 Apr 2026 18:09:11 +0200 Subject: [PATCH] =?UTF-8?q?fixup!=20fixup!=20=F0=9F=90=9B(frontend)=20sani?= =?UTF-8?q?tize=20pasted=20and=20dropped=20content=20in=20document=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts index 1fcc7bf90..fbaad84ee 100644 --- a/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts @@ -170,6 +170,8 @@ test.describe('Doc Header', () => { await docTitle.blur(); await expect(docTitle).toHaveText('Pasted plain text'); + // Ensure formatting tags from text/html were not inserted. + await expect(docTitle.locator('b, em, strong, i')).toHaveCount(0); }); test('it updates the title doc adding a leading emoji', async ({