diff --git a/.jshintrc b/.jshintrc
index 2ba0ac52..41d40b40 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -32,6 +32,7 @@
"SwaggerUi": false,
"jsyaml": false,
"define": false,
+ "sanitizeHtml": false,
// Global object
// TODO: remove these
diff --git a/dist/index.html b/dist/index.html
index adcda636..a5a73387 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -12,6 +12,7 @@
+
diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js
index 7f280d85..85d89993 100644
--- a/dist/swagger-ui.js
+++ b/dist/swagger-ui.js
@@ -3042,34 +3042,22 @@ window.Docs = {
'use strict';
/*jslint eqeq: true*/
-var _sanitize = function(html) {
- // Strip the script tags from the html and inline evenhandlers
- html = html.replace(/
+
diff --git a/src/main/javascript/helpers/handlebars.js b/src/main/javascript/helpers/handlebars.js
index 8a4cedf4..d19b1356 100644
--- a/src/main/javascript/helpers/handlebars.js
+++ b/src/main/javascript/helpers/handlebars.js
@@ -1,34 +1,22 @@
'use strict';
/*jslint eqeq: true*/
-var _sanitize = function(html) {
- // Strip the script tags from the html and inline evenhandlers
- html = html.replace(/