mirror of
https://github.com/bewcloud/bewcloud.git
synced 2026-03-11 08:54:49 +00:00
Fixes #146 The parseTextFromHtml function was using document.textContent directly on the parsed HTML document, which could leave raw HTML tags and unresolved entities in feed article summaries. Changes: - Extract text from body element to avoid document wrapper artifacts - Collapse multiple whitespace/newlines into single spaces for cleaner output - Add early return for empty/whitespace-only input - Use optional chaining for safer null handling |
||
|---|---|---|
| .. | ||
| interfaces | ||
| models | ||
| utils | ||
| auth.ts | ||
| config.ts | ||
| feed.ts | ||
| page.ts | ||
| types.ts | ||