diff --git a/index.js b/index.js index 976e3e0..e4726b0 100755 --- a/index.js +++ b/index.js @@ -369,7 +369,9 @@ if (inputIsFromStdin) { }); } else if (inputFile) { promiseGetHTML = jsdom.JSDOM.fromFile(inputFile, { - url: documentURL + url: documentURL, + // workaround for https://gitlab.com/gardenappl/readability-cli/-/issues/9 + contentType: "text/html; charset=utf-8" }); }