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:
parent
4a17c78a85
commit
67aa57f67b
3 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue