mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Linting fixes
This commit is contained in:
parent
004c766588
commit
eadeccce81
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue