diff --git a/modules/system/assets/js/eventlogs/exception-beautifier.js b/modules/system/assets/js/eventlogs/exception-beautifier.js
index 66b85ed4d..f8d876db7 100644
--- a/modules/system/assets/js/eventlogs/exception-beautifier.js
+++ b/modules/system/assets/js/eventlogs/exception-beautifier.js
@@ -40,7 +40,7 @@
}
})
- markup = self.parseSource(self.$el.text())
+ markup = self.parseSource(self.$el.html())
self.$el
.addClass('plugin-exception-beautifier')
@@ -274,7 +274,10 @@
}
}
else {
- markup += $.oc.escapeHtmlString(str)
+ // Allow HTML entities
+ str = str.replace(/&([^\s&;]+?);/g, '&$1;')
+
+ markup += str
.replace(/\{x-newline\}/g, '
')
.replace(/\{x-tabulation\}/g, ' ')
}
@@ -353,7 +356,7 @@
tabs.find('#beautifier-tab-formatted').append(markup)
}
- tabs.find('#beautifier-tab-raw').append('