import { describe, test, expect } from 'vitest'; import { HtmlBlock, purifyHtml } from './HtmlBlock'; const toHtml = (HtmlBlock as any).toHtml; describe('HtmlBlock.toHtml sanitizes raw code (A4.1)', () => { test('strips
hi
' }, ''); expect(html).not.toContain('