Skip to content
Snippets Groups Projects
Unverified Commit fdf73762 authored by Sebastian Höffner's avatar Sebastian Höffner
Browse files

Commenting out html replacement as it resulted in the html elements not being displayed properly.

parent 37ba0bca
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
if (typeof json != 'string') {
json = JSON.stringify(json, undefined, 2);
}
json = json.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
// json = json.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
return json.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function (match) {
var cls = 'number';
if (/^"/.test(match)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment