Spaces:
Build error
Build error
fix: typo
Browse files
backend/functions/src/cloud-functions/crawler.ts
CHANGED
|
@@ -331,7 +331,7 @@ export class CrawlerHost extends RPCHost {
|
|
| 331 |
let turnDownService = this.getTurndown({ url: nominalUrl });
|
| 332 |
if (mode !== 'markdown' && snapshot.parsed?.content) {
|
| 333 |
const par1 = turnDownService.turndown(toBeTurnedToMd);
|
| 334 |
-
const par2 = turnDownService.turndown(snapshot.parsed.content)
|
| 335 |
|
| 336 |
// If Readability did its job
|
| 337 |
if (par2.length >= 0.3 * par1.length) {
|
|
|
|
| 331 |
let turnDownService = this.getTurndown({ url: nominalUrl });
|
| 332 |
if (mode !== 'markdown' && snapshot.parsed?.content) {
|
| 333 |
const par1 = turnDownService.turndown(toBeTurnedToMd);
|
| 334 |
+
const par2 = turnDownService.turndown(snapshot.parsed.content);
|
| 335 |
|
| 336 |
// If Readability did its job
|
| 337 |
if (par2.length >= 0.3 * par1.length) {
|