Dan
|
aa135ea457
|
Reformat project
|
2019-08-01 19:11:43 +02:00 |
|
Dan
|
8cdcf90b10
|
Enhance Parser when dealing with leading and trailing whitespaces
|
2019-07-28 15:11:18 +02:00 |
|
Dan
|
e1c6e6ecc1
|
Better handling of non-string message texts
Now everything will be allowed and automatically casted to string. This
means that send_message(id, True) would send "True", literally.
|
2019-07-28 10:13:38 +02:00 |
|
Dan
|
6459ce0a07
|
Fix lots of bound methods breaking due to latest changes on parse_mode
Addresses #287
|
2019-07-21 01:03:19 +02:00 |
|
Dan
|
fed8cbf87e
|
Add new set_parse_mode utility method
|
2019-07-11 19:28:33 +02:00 |
|
Dan
|
7c704bbb6a
|
Make the text parser log warnings instead of raising exceptions
|
2019-07-11 04:14:14 +02:00 |
|
Dan
|
e41d21ba29
|
Add "md" to possible parse modes for Markdown style
|
2019-07-10 20:03:10 +02:00 |
|
Dan
|
a790431274
|
Do string conversion and striping in the Parser
|
2019-06-30 21:08:50 +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 |
|