diff --git a/modules/system/assets/js/eventlogs/exception-beautifier.js b/modules/system/assets/js/eventlogs/exception-beautifier.js index b0915a028..49918bed1 100644 --- a/modules/system/assets/js/eventlogs/exception-beautifier.js +++ b/modules/system/assets/js/eventlogs/exception-beautifier.js @@ -325,7 +325,7 @@ '') tabs.find('#beautifier-tab-formatted').append(markup) - tabs.find('#beautifier-tab-raw').append('
' + source.trim().replace(/\r\n|\r|\n/g, '
').replace(/ {2}/g, '  ') + '
') + tabs.find('#beautifier-tab-raw').append('
' + $.oc.escapeHtmlString(source.trim()).replace(/\r\n|\r|\n/g, '
').replace(/ {2}/g, '  ') + '
') tabs.ocTab({closable: false})