Dan
|
b20e0ef2d2
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/methods/chats/export_chat_invite_link.py
# pyrogram/client/parser/html.py
|
2019-07-01 14:49:47 +02:00 |
|
Dan
|
a790431274
|
Do string conversion and striping in the Parser
|
2019-06-30 21:08:50 +02:00 |
|
Dan
|
8ef97f2177
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/methods/messages/edit_message_text.py
# pyrogram/client/methods/messages/send_animation.py
# pyrogram/client/methods/messages/send_audio.py
# pyrogram/client/methods/messages/send_cached_media.py
# pyrogram/client/methods/messages/send_document.py
# pyrogram/client/methods/messages/send_message.py
# pyrogram/client/methods/messages/send_photo.py
# pyrogram/client/methods/messages/send_video.py
# pyrogram/client/methods/messages/send_voice.py
# pyrogram/client/parser/html.py
# pyrogram/client/parser/markdown.py
# pyrogram/client/types/input_message_content/input_text_message_content.py
|
2019-06-26 19:34:49 +02:00 |
|
Dan
|
197cf5506c
|
Only allow either "markdown" or "html" as text style parse mode
|
2019-06-26 16:36:00 +02:00 |
|
Dan
|
e61bf92627
|
Add Parser package
Revamped from HTML/Markdown
|
2019-06-26 16:07:27 +02:00 |
|
Dan
|
be5f0c9529
|
Parser's client can be None
In that case, check if is None and don't parse user mentions.
This happens only in text content for inline results
|
2019-06-26 16:06:50 +02:00 |
|
Dan
|
8d852cb47e
|
Implement strict and loose markdown parsing
This is enabled by default:
- strict: only markdown syntax is parsed
- loose: both markdown and html syntax are parsed
|
2019-06-26 16:05:09 +02:00 |
|