[html-report] Revert "Remove script tags using JS in frame.js"
@@ -15,10 +15,6 @@ function createLinks(text) {
.replace(/mailto:(\S+)/g, '<a href="mailto:$1">$1</a>');
}
-function removeScriptTags(text) {
- return text.replace(/<script.*?>|<\/script.*?>/g, '');
-}
-
// Hints URLs
var hints = {
// Hints for viewpoints
@@ -145,11 +141,6 @@ $(document).ready(function() {
e.stopPropagation();
});
- // Remove any script tags first
- $('.documentation').each(function() {
- $(this).text(removeScriptTags($(this).text()));
- });
-
// Create links in this class
$('.convertlinks').each(function() {
$(this).html(createLinks($(this).text()));
