We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abb5a9a commit 3c42476Copy full SHA for 3c42476
lib/index.js
@@ -41,7 +41,7 @@
41
* File used to add positional info to nodes (optional).
42
*
43
* If given, the file should represent the original HTML source.
44
- * @property {boolean} [verbose=false]
+ * @property {boolean | null | undefined} [verbose=false]
45
* Whether to add extra positional info about starting tags, closing tags,
46
* and attributes to elements (default: `false`).
47
@@ -91,7 +91,7 @@ export function fromParse5(tree, options) {
91
file: settings.file || undefined,
92
location: false,
93
schema: settings.space === 'svg' ? svg : html,
94
- verbose: settings.verbose
+ verbose: settings.verbose || false
95
},
96
tree
97
)
0 commit comments