Merge branch 'main' into set_priorities

This commit is contained in:
afourney 2025-02-11 10:14:51 -08:00 committed by GitHub
commit 7a546fcd70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,10 @@ class _CustomMarkdownify(markdownify.MarkdownConverter):
prefix, suffix, text = markdownify.chomp(text) # type: ignore
if not text:
return ""
if el.find_parent("pre") is not None:
return text
href = el.get("href")
title = el.get("title")