diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/index.js b/index.js index 67cf0db..3a7b00e 100755 --- a/index.js +++ b/index.js @@ -111,9 +111,9 @@ function process_dom(url, document, res, inline_title, ignore_links, id="") { } let reader = new Readability(document.window.document); let readable = reader.parse().content; - let replacements = [] - readable = format_tables(readable, replacements); + let replacements = []; readable = format_codeblocks(readable, replacements); + readable = format_tables(readable, replacements); let markdown = service.turndown(readable); for (let i=0;i