Linting fixes

This commit is contained in:
Jackson Harper 2022-05-18 11:31:42 -07:00
parent 004c766588
commit eadeccce81

View file

@ -238,7 +238,10 @@ export const parsePreparedContent = async (
try {
article = getReadabilityResult(url, document, dom, isNewsletter)
if (!article?.textContent && allowRetry) {
const newDocument = { ...preparedDocument, document: '<html>' + preparedDocument.document + '</html>' }
const newDocument = {
...preparedDocument,
document: '<html>' + preparedDocument.document + '</html>',
}
return parsePreparedContent(url, newDocument, isNewsletter, false)
}