Spaces:
Build error
Build error
fix: remove select element from markdown to walk around turndown performance issue
Browse files
backend/functions/src/cloud-functions/crawler.ts
CHANGED
|
@@ -151,7 +151,7 @@ export class CrawlerHost extends RPCHost {
|
|
| 151 |
} as any);
|
| 152 |
if (!options?.noRules) {
|
| 153 |
turnDownService.addRule('remove-irrelevant', {
|
| 154 |
-
filter: ['meta', 'style', 'script', 'noscript', 'link', 'textarea'],
|
| 155 |
replacement: () => ''
|
| 156 |
});
|
| 157 |
turnDownService.addRule('truncate-svg', {
|
|
|
|
| 151 |
} as any);
|
| 152 |
if (!options?.noRules) {
|
| 153 |
turnDownService.addRule('remove-irrelevant', {
|
| 154 |
+
filter: ['meta', 'style', 'script', 'noscript', 'link', 'textarea', 'select'],
|
| 155 |
replacement: () => ''
|
| 156 |
});
|
| 157 |
turnDownService.addRule('truncate-svg', {
|