Merge branch 'main' into patch-1

This commit is contained in:
afourney 2025-02-11 10:33:04 -08:00 committed by GitHub
commit 91d6a93bea
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 prefix, suffix, text = markdownify.chomp(text) # type: ignore
if not text: if not text:
return "" return ""
if el.find_parent("pre") is not None:
return text
href = el.get("href") href = el.get("href")
title = el.get("title") title = el.get("title")