Closed 4xii closed 1 year ago
import posthtml from "posthtml"; const html = ` <p><div>1</div>sdfsdf</p> `; posthtml() .process(html) .then((res) => console.log(res.html)); // why log <p></p><div>1</div>sdfsdf<p></p>
codeSandbox
codeSandbox