import { renderMarkdown } from '../dist/index.js'; import { expect } from 'chai'; describe('entities', () => { const renderAstroMd = (text) => renderMarkdown(text, { isAstroFlavoredMd: false }); it('should not unescape entities', async () => { const { code } = await renderAstroMd(`<i>This should NOT be italic</i>`); expect(code).to.equal(`

<i>This should NOT be italic</i>

`); }); });