1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add param for markdownIt to handle html

This commit is contained in:
rafma0 2023-11-23 10:36:24 -03:00
parent 4a17c78a85
commit 67aa57f67b
3 changed files with 3 additions and 3 deletions

View file

@ -859,7 +859,7 @@ function renderOverview(page, item) {
const overviewElements = page.querySelectorAll('.overview');
if (overviewElements.length > 0) {
const overview = DOMPurify.sanitize(markdownIt().render(item.Overview || ''));
const overview = DOMPurify.sanitize(markdownIt({ html: true }).render(item.Overview || ''));
if (overview) {
for (const overviewElemnt of overviewElements) {