Some console logs for stats

This commit is contained in:
Will Boyd
2019-12-19 13:17:43 -05:00
parent dad90796e2
commit a7b1f4c634
2 changed files with 46 additions and 45 deletions
+1 -4
View File
@@ -1,7 +1,5 @@
const turndown = require('turndown');
const shared = require('./shared');
function initTurndownService() {
let turndownService = new turndown({
headingStyle: 'atx',
@@ -47,8 +45,7 @@ function initTurndownService() {
turndownService.addRule('iframe', {
filter: 'iframe',
replacement: (content, node) => {
let html = node.outerHTML
.replace('allowfullscreen=""', 'allowfullscreen');
let html = node.outerHTML.replace('allowfullscreen=""', 'allowfullscreen');
return '\n\n' + html + '\n\n';
}
});