This pull request introduces a new utility function, safeText, to consistently decode and safely render text containing HTML entities throughout the frontend codebase. It replaces previous ad-hoc HTML decoding logic with a single, reusable approach, ensuring audiobook metadata such as titles, authors, publishers, and series are displayed correctly and securely in all views. Additionally, there are minor improvements to logging and directory structure logic on the backend.
Frontend: Text Decoding and Rendering Improvements
- Added
safeTextanddecodeHtmlEntitiesfunctions tofe/src/utils/textUtils.tsfor robust HTML entity decoding and safe text rendering. - Refactored all relevant Vue components (
ManualSearchModal.vue,AddNewView.vue,AudiobookDetailView.vue,AudiobooksView.vue,HomeView.vue,SearchView.vue,WantedView.vue) to usesafeTextfor displaying audiobook metadata (titles, authors, narrators, publishers, series, etc.), replacing previous custom decoding logic. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [[11]...
Automated canary build