audiobookshelf/test/server/providers
TowyTowy 98e1e5a29a Decode HTML entities in Audible title and subtitle
Audible/audnex metadata can contain HTML entities such as `"` and
`&` that were passed through untouched, so titles like
`The "Hitler" Myth` were displayed literally instead of
`The "Hitler" Myth`.

Decode the entities at the ingestion boundary in `cleanResult` using the
existing `htmlSanitizer.stripAllTags` helper (the same plain-text
treatment already used for collection/playlist names). This decodes once,
avoiding the double-decoding of legitimate literal entities.

Fixes #5340

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 00:12:18 +02:00
..
Audible.test.js Decode HTML entities in Audible title and subtitle 2026-07-09 00:12:18 +02:00