diff --git a/server/utils/htmlSanitizer.js b/server/utils/htmlSanitizer.js index 68d92c859..3e91faa71 100644 --- a/server/utils/htmlSanitizer.js +++ b/server/utils/htmlSanitizer.js @@ -4,7 +4,7 @@ const { entities } = require("./htmlEntities"); function sanitize(html) { const sanitizerOptions = { allowedTags: [ - 'p', 'ol', 'ul', 'li', 'a', 'strong', 'em', 'del', 'br' + 'p', 'ol', 'ul', 'li', 'a', 'strong', 'b', 'em', 'i', 'del', 'br' ], disallowedTagsMode: 'discard', allowedAttributes: {