diff --git a/src/transformers/sanitize.test.ts b/src/transformers/sanitize.test.ts index c394d01..c4b3740 100644 --- a/src/transformers/sanitize.test.ts +++ b/src/transformers/sanitize.test.ts @@ -162,6 +162,19 @@ describe('Sanitization: custom', () => { }) test('skip squeezing empty paragraphs', () => { + expectSanitizeHTML( + stripIndent` +
abc
+ + + `, + stripIndent` +abc
+ + + `, + ) + expectSanitizeHTML( stripIndent`abc