mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-16 06:11:38 +00:00
preserve bold and italic from audible
This commit is contained in:
parent
675fbc6d76
commit
fcfc657777
1 changed files with 1 additions and 1 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue