import test from 'node:test'; import assert from 'node:assert/strict'; import { htmlToText } from '../../../lib/utils/html'; test('GH-ISSUE-242: htmlToText removes markup and decodes nbsp content', () => { assert.equal( htmlToText('
简介 内容