We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56543d5 commit 59b21a5Copy full SHA for 59b21a5
src/pretty-dom.js
@@ -79,6 +79,7 @@ function prettyDOM(dom, maxLength, options = {}) {
79
plugins: [createDOMElementFilter(filterNode), DOMCollection],
80
printFunctionName: false,
81
highlight: shouldHighlight(),
82
+ callToJSON: false,
83
...prettyFormatOptions,
84
})
85
return maxLength !== undefined && dom.outerHTML.length > maxLength
0 commit comments