preserve bold and italic from audible

This commit is contained in:
MxMarx 2023-10-02 18:13:03 -07:00
parent 675fbc6d76
commit fcfc657777

View file

@ -4,7 +4,7 @@ const { entities } = require("./htmlEntities");
function sanitize(html) { function sanitize(html) {
const sanitizerOptions = { const sanitizerOptions = {
allowedTags: [ allowedTags: [
'p', 'ol', 'ul', 'li', 'a', 'strong', 'em', 'del', 'br' 'p', 'ol', 'ul', 'li', 'a', 'strong', 'b', 'em', 'i', 'del', 'br'
], ],
disallowedTagsMode: 'discard', disallowedTagsMode: 'discard',
allowedAttributes: { allowedAttributes: {