diff --git a/app/templates/logs.html b/app/templates/logs.html index 6096dc2..d19d45b 100644 --- a/app/templates/logs.html +++ b/app/templates/logs.html @@ -266,8 +266,8 @@ function syntaxHighlight(obj) { return json .replace(/("(?:[^"\\]|\\.)*")(?=\s*:)/g,'$1') .replace(/:(\s*)("(?:[^"\\]|\\.)*")/g,': $1$2') - .replace(/:(\s*)(\d+(?:\.\d+)?)/g,': $1$2') - .replace(/:(\s*)(null|true|false)/g,': $1$2'); + .replace(/: (\d+(?:\.\d+)?)/g,': $1') + .replace(/: (null|true|false)/g,': $1'); } {% endblock %} diff --git a/app/templates/terceros.html b/app/templates/terceros.html index d85a806..b8ec585 100644 --- a/app/templates/terceros.html +++ b/app/templates/terceros.html @@ -123,8 +123,8 @@ function syntaxHighlight(obj) { json = json.replace(/&/g, '&').replace(//g, '>'); return json.replace(/("(?:[^"\\]|\\.)*")(?=\s*:)/g, '$1') .replace(/:(\s*)("(?:[^"\\]|\\.)*")/g, ': $1$2') - .replace(/:(\s*)(\d+)/g, ': $1$2') - .replace(/:(\s*)(null|true|false)/g, ': $1$2'); + .replace(/: (\d+)/g, ': $1') + .replace(/: (null|true|false)/g, ': $1'); } {% endblock %} diff --git a/app/templates/transaccion.html b/app/templates/transaccion.html index 77eaf50..e2c95da 100644 --- a/app/templates/transaccion.html +++ b/app/templates/transaccion.html @@ -360,8 +360,8 @@ function syntaxHighlight(obj) { return json .replace(/("(?:[^"\\]|\\.)*")(?=\s*:)/g,'$1') .replace(/:(\s*)("(?:[^"\\]|\\.)*")/g,': $1$2') - .replace(/:(\s*)(\d+(?:\.\d+)?)/g,': $1$2') - .replace(/:(\s*)(null|true|false)/g,': $1$2'); + .replace(/: (\d+(?:\.\d+)?)/g,': $1') + .replace(/: (null|true|false)/g,': $1'); } {% endblock %}