Nuovo articolo: Orologi che non segnano l'ora: il caso della Mi' Band

This commit is contained in:
2024-10-26 16:16:21 +02:00
parent 47c46d2d5e
commit f84f935eca
3 changed files with 100 additions and 2 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', 'video', 'audio', 'scripts']);
turndownService.keep(['span', 'small', 'sup', 'sub', 'dl', 'details', 'table', 'iframe', 'figure', 'video', 'audio', 'scripts']);
Exp.Transform = (html) => fixFootnoteRefs(turndownService.turndown(html));