You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,8 @@
66
66
if(json){
67
67
varpretty=JSON.stringify(json,undefined,2);
68
68
$(".json code").html(pretty);
69
-
hljs.highlightBlock($(".json code").get(0));
69
+
if(pretty.length<(50*1024))
70
+
hljs.highlightBlock($(".json code").get(0));
70
71
}else
71
72
$(".json code").html("");
72
73
@@ -362,7 +363,7 @@ <h1>Convert JSON to CSV</h1>
362
363
</div>
363
364
364
365
<divclass="warning">
365
-
Extremely large files may cause trouble — the conversion is done inside your browser. In that case, try out the powerful <ahref="http://csvkit.readthedocs.org/en/latest/scripts/in2csv.html">csvkit</a>.
366
+
Extremely large files may cause trouble — the conversion is done inside your browser.
0 commit comments