// Leave only HTML
import { strict as assert } from "assert";
import { stripHtml } from "../dist/string-strip-html.esm.js";
const someHtml = `
Title
Some text.
`;
assert.equal(
stripHtml(someHtml).allTagLocations.reduce(
(acc, [from, to]) => `${acc}${someHtml.slice(from, to)}`,
""
),
``
);