UNPKG

html-to-md

Version:

A JS library for convert HTML<String> to markdown<String>, gzip 10kb

10 lines (6 loc) 193 B
import html2Md from '../../src/index' describe('Get the correct escape & unescape',()=>{ it(`unescape the "'"`,()=>{ expect(html2Md('<p>it&apos;s</p>')).toBe("it's") }) })