CyanBook
|
c8c6faa96e
|
Change logging hierarchy for loading plugins (#451)
Loading plugins shouldn't be considered a warning
|
2020-08-21 07:28:27 +02:00 |
|
Dan
|
d82e9468f0
|
Strip whitespace characters from the end of the message
but preserve closing tags
|
2020-05-28 15:43:42 +02:00 |
|
Dan
|
1996fb1481
|
Update Copyright
|
2020-03-21 15:43:32 +01:00 |
|
Dan
|
42c9bafa0c
|
Update copyright notice
|
2020-02-01 14:04:33 +01:00 |
|
Dan
|
a015f998fa
|
Revert "Stop instantiating logger objects and directly use the logging module"
This reverts commit 792068d7
|
2019-09-08 19:24:06 +02:00 |
|
Dan
|
792068d7c8
|
Stop instantiating logger objects and directly use the logging module
|
2019-09-08 12:59:28 +02:00 |
|
Dan
|
f3b33ef1d5
|
Revert "Enhance Parser when dealing with leading and trailing whitespaces"
This reverts commit 8cdcf90b
|
2019-09-07 12:49:35 +02:00 |
|
Mario A
|
2aefbfd531
|
Add better support for nested entities (both for HTML and Markdown) (#297)
* Added better support for nested entities, both for HTML and Markdown
* Tiny style fix
* Make use of pre-defined constants
|
2019-08-07 13:48:21 +02:00 |
|
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 |
|