Don't strip img tags
All checks were successful
Run Scraper / scrape (push) Successful in 17s

This commit is contained in:
2025-05-17 03:11:48 +02:00
parent 20410ff8aa
commit 81cb342725
291 changed files with 6062 additions and 1466 deletions

View File

@ -390,10 +390,7 @@ def generate_atom_feed(articles: list[dict[Any, Any]], file_name: str) -> str:
article_content = article_title
converter: MarkdownConverter = MarkdownConverter(
heading_style="ATX",
bullets="-",
strip=["img", "pre", "code"],
default_title="Link",
strip=["pre", "code"]
)
article_content_converted = str(converter.convert(article_content).strip()) # type: ignore # noqa: PGH003