mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-18 19:08:13 +02:00
Update custom metadata provider results to sanitize html descriptions #3880
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const axios = require('axios').default
|
||||
const Database = require('../Database')
|
||||
const Logger = require('../Logger')
|
||||
const htmlSanitizer = require('../utils/htmlSanitizer')
|
||||
|
||||
class CustomProviderAdapter {
|
||||
#responseTimeout = 30000
|
||||
@@ -74,7 +75,7 @@ class CustomProviderAdapter {
|
||||
narrator,
|
||||
publisher,
|
||||
publishedYear,
|
||||
description,
|
||||
description: htmlSanitizer.sanitize(description),
|
||||
cover,
|
||||
isbn,
|
||||
asin,
|
||||
|
Reference in New Issue
Block a user