Closed as not planned
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
hast-util-from-html@2.0.3
Link to runnable example
No response
Steps to reproduce
import { fromHtml } from "hast-util-from-html";
const htmlTree = fromHtml("This is some <b>bold</b> text!", { fragment: true, verbose: false });
Expected behavior
The expected output should not contain position information, per the documentation on the verbose
parameter, but it does.
Actual behavior
Position information included in generated HAST tree.
Affected runtime and version
node@18.19.1
Affected package manager and version
npm@10.2.4
Affected OS and version
Linux
Build and bundle tools
No response