Nuova pagina sitoctt internals, Fix misti di pagine, Ristrutturazione file

This commit is contained in:
2024-12-08 19:03:10 +01:00
parent c509fa6445
commit 01e4470eaa
22 changed files with 114 additions and 49 deletions

View File

@ -13,7 +13,7 @@ const markdownOptions = {
const TurndownService = require('turndown');
const turndownService = (new TurndownService(markdownOptions));
turndownService.keep(['span', 'small', 'sup', 'sub', 'dl', 'details', 'table', 'iframe', 'figure', 'video', 'audio', 'scripts']);
turndownService.keep(['span', 'small', 'sup', 'sub', 'dl', 'details', 'table', 'iframe', 'figure', 'video', 'audio', 'script', 'style']);
Exp.Transform = (html) => fixFootnoteRefs(turndownService.turndown(html));