We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dce67f commit f85f770Copy full SHA for f85f770
extension/src/json-viewer/check-if-json.js
@@ -26,7 +26,7 @@ function getPreWithSource() {
26
return childNode;
27
28
// if Content-Type is text/html
29
- } else if (nodeName === "#text" && textContent.trim().length > 0) {
+ } else if (nodeName === "#text" && textContent.trim().length > 0) {
30
if (process.env.NODE_ENV === 'development') {
31
console.debug("[JSONViewer] Loaded from a text node, this might have returned content-type: text/html");
32
}
0 commit comments