When MarkdownV2 parsing fails, _strip_mdv2() removes escape backslashes and bold markers (*text*) but missed italic markers (_text_). Users saw raw underscores around italic text in the plaintext fallback. - Add regex to strip _text_ italic markers in _strip_mdv2() - Use word boundary lookaround to preserve snake_case identifiers - Add tests for _strip_mdv2 covering italic, bold, snake_case, and edge cases |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| discord.py | ||
| homeassistant.py | ||
| slack.py | ||
| telegram.py | ||
| whatsapp.py | ||