mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 13:51:35 +00:00
support rich text book descriptions
This commit is contained in:
parent
ed82a5aa19
commit
082a1e5bca
10 changed files with 47 additions and 27 deletions
|
|
@ -45,7 +45,8 @@ class Audible {
|
|||
narrator: narrators ? narrators.map(({ name }) => name).join(', ') : null,
|
||||
publisher: publisherName,
|
||||
publishedYear: releaseDate ? releaseDate.split('-')[0] : null,
|
||||
description: summary ? htmlSanitizer.stripAllTags(summary) : null,
|
||||
description: summary ? htmlSanitizer.sanitize(summary) : null,
|
||||
descriptionPlain: summary ? htmlSanitizer.stripAllTags(summary) : null,
|
||||
cover: image,
|
||||
asin,
|
||||
genres: genresFiltered.length ? genresFiltered : null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue