This commit is contained in:
Jake Poznanski 2025-03-19 18:33:48 +00:00
parent a4605e4efc
commit cb4dfeba36

View File

@ -38,6 +38,9 @@ class ValidationError(Exception):
def normalize_text(md_content: str) -> str:
if md_content is None:
return None
# Normalize whitespace in the md_content
md_content = re.sub(r"\s+", " ", md_content)