The italic regex \*([^*]+)\* used [^*] which matches newlines, causing bullet lists with * markers to be incorrectly converted to italic text. Changed to [^*\n]+ to prevent cross-line matching. Adds 43 tests for _escape_mdv2 and format_message covering code blocks, bold/italic, headers, links, mixed formatting, and the regression case. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_config.py | ||
| test_delivery.py | ||
| test_document_cache.py | ||
| test_session.py | ||
| test_telegram_documents.py | ||
| test_telegram_format.py | ||