import { renderMarkdown } from '../dist/index.js'; import chai from 'chai'; describe('strictness', () => { it('should allow self-closing HTML tags (void elements)', async () => { const { code } = await renderMarkdown( `Use self-closing void elementslike wordbreak and images: `, {} ); chai .expect(code) .to.equal( `Use self-closing void elementslike wordbreak and images: ` + `` ); }); });
Use self-closing void elementslike wordbreak and images: ` + `