Layout TOC fix, fix embed YouTube, stili iframe, counter, agg. Raccolte Giochi

This commit is contained in:
2024-09-20 01:58:28 +02:00
parent b3dead8ac2
commit 202a38769a
26 changed files with 105 additions and 44 deletions

View File

@ -11,7 +11,7 @@ const turndownService = (new TurndownService({
strongDelimiter: "**",
linkStyle: "inlined",
}));
turndownService.keep(['span', 'small', 'sup', 'sub', 'table', 'dl', 'iframe', 'video', 'audio']);
turndownService.keep(['span', 'small', 'sup', 'sub', 'table', 'dl', 'iframe', 'video', 'audio', 'scripts']);
Exp.Transform = (html) => turndownService.turndown(html);