From 16b1ecafcdc5a18b99a3e3fd3c6868b5c781b2a9 Mon Sep 17 00:00:00 2001 From: Ian Knox Date: Fri, 10 Dec 2021 09:41:48 -0600 Subject: [PATCH] enabled marked sanitization --- src/app/index.module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/index.module.js b/src/app/index.module.js index edd061331..f122d44ed 100644 --- a/src/app/index.module.js +++ b/src/app/index.module.js @@ -25,7 +25,7 @@ angular config(['markedProvider', '$locationProvider', function(markedProvider, $locationProvider) { - markedProvider.setOptions({gfm: true}); + markedProvider.setOptions({gfm: true, sanitize: true}); markedProvider.setRenderer({ table: function(header, body) { return "" + header + ""+ body + "
"