Simplified command sanitization and covered closed clients.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 6s
CI / Tests (push) Successful in 30s
CI / Type Checking (push) Successful in 12s
CI / Spelling (push) Successful in 10s

This commit is contained in:
2026-05-25 21:36:00 -04:00
parent c0bb2cf423
commit 85d3adf775
2 changed files with 6 additions and 3 deletions
-3
View File
@@ -38,9 +38,6 @@ _SECONDS_PER_DAY = 24 * _SECONDS_PER_HOUR
def _sanitize_for_plain_text(text: str) -> str:
"""Sanitize text before Markdown escaping."""
if not text:
return text
sanitized = text.replace("\n", " ").replace("\r", " ")
return " ".join(sanitized.split())