diff --git a/factgenie/static/js/browse.js b/factgenie/static/js/browse.js index 0452f9e..98afddb 100644 --- a/factgenie/static/js/browse.js +++ b/factgenie/static/js/browse.js @@ -378,7 +378,7 @@ function createSpanOpening(annotation, level, annotation_span_categories, displa } function showRawData(data) { - var rawDataStr = JSON.stringify(data.raw_data, null, 2).replace(/\\n/g, '
'); + var rawDataStr = JSON.stringify(data.raw_data, null, 2).replace(/\\n/g, '\n'); if (rawDataStr[0] == '"') { // remove the first and last double quotes