levlam
|
d26e0fab57
|
Support tonsite protocol.
|
2024-07-17 08:36:56 +03:00 |
|
levlam
|
c7fae71b92
|
Fix BlockQuote check in fix_formatted_text test.
|
2024-05-23 13:38:14 +03:00 |
|
levlam
|
fa6ed08534
|
Support expandable block quote entities in MarkdownV2.
|
2024-05-21 12:26:23 +03:00 |
|
levlam
|
36ebd42a92
|
Allow attributes without value and support expandable blockquote entities in HTML parse_mode.
|
2024-05-21 11:50:41 +03:00 |
|
levlam
|
da031b3faa
|
Allow \r and other empty entities as a separator between MarkdownV2 blockquotes.
|
2024-01-10 14:36:27 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
levlam
|
4c052a5efa
|
Don't remove whitespace-only entities.
|
2023-12-04 18:33:40 +03:00 |
|
levlam
|
21ab0edef0
|
Allow empty block quotes in MarkdownV2.
|
2023-11-15 20:57:13 +03:00 |
|
levlam
|
c926b16896
|
Support pre-existing BlockQuote entities in parseMarkdown.
|
2023-11-07 19:40:45 +03:00 |
|
levlam
|
d0f6791777
|
Support PreCode entities in getMarkdownText.
|
2023-11-06 02:11:15 +03:00 |
|
levlam
|
000da35ad0
|
Always remove new line on the first empty line of Pre entity.
|
2023-11-06 02:03:29 +03:00 |
|
levlam
|
4983b8e9a3
|
Don't remove newline character after Pre entities.
|
2023-11-06 01:51:51 +03:00 |
|
levlam
|
c24f62d70b
|
Improve parse_markdown_v3 test.
|
2023-11-06 01:42:03 +03:00 |
|
levlam
|
8e8a7e0f18
|
Support language code specification for PreCode entities in parseMarkdown.
|
2023-11-06 00:45:24 +03:00 |
|
levlam
|
ea450564b0
|
Add BlockQuote parsing in MarkdownV2.
|
2023-10-30 18:18:13 +03:00 |
|
levlam
|
bdbee0765b
|
Fix warnings.
|
2023-10-30 16:54:39 +03:00 |
|
levlam
|
f10bcc49cb
|
Support BlockQuote entities in textParseModeHTML.
|
2023-10-29 22:29:39 +03:00 |
|
levlam
|
77cf5262b4
|
Add check for entities being sorted.
|
2023-10-19 13:47:41 +03:00 |
|
levlam
|
4a809ed51a
|
Add get_first_url to test.
|
2023-10-19 13:46:36 +03:00 |
|
levlam
|
a7e98779f0
|
Add test for is_visible_url.
|
2023-10-19 13:45:39 +03:00 |
|
levlam
|
cf423903a0
|
Add new entities to the fix_formatted_text test.
|
2023-10-18 13:14:07 +03:00 |
|
levlam
|
896de65c3e
|
Improve field name.
|
2023-02-11 22:37:43 +03:00 |
|
levlam
|
7eee3f469a
|
Update clang-format to 16.0.0.
|
2023-02-08 15:28:36 +03:00 |
|
levlam
|
1919671df3
|
Improve parse_html test.
|
2023-01-09 17:07:08 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
0bf3e7f0e6
|
Treat usernames of length 4 as valid.
|
2022-10-25 19:25:15 +03:00 |
|
levlam
|
738f0493b1
|
Fix test.
|
2022-10-26 08:53:09 +03:00 |
|
levlam
|
faa738d6a9
|
Keep only Slice overload of utf8_utf16_substr.
|
2022-09-22 12:08:34 +03:00 |
|
levlam
|
4543c485a7
|
Optimize fix_url.
|
2022-08-20 13:44:55 +03:00 |
|
levlam
|
4206246b0c
|
Simplify match_url code.
|
2022-08-20 11:34:21 +03:00 |
|
levlam
|
0d2ddc2d56
|
Allow only domain symbols in user data after first dot to improve performance.
|
2022-08-19 21:01:39 +03:00 |
|
levlam
|
31a4608463
|
Fix fix_formatted_text test.
|
2022-08-19 15:05:49 +03:00 |
|
levlam
|
8f81a46ede
|
Allow some new characters in hashtags.
|
2022-07-29 16:23:05 +03:00 |
|
levlam
|
eef3fe5932
|
Support custom emoji in parse_html.
|
2022-07-19 14:13:37 +03:00 |
|
levlam
|
8e09a83506
|
Support custom emoji in MarkdownV2.
|
2022-07-18 23:40:57 +03:00 |
|
levlam
|
382bd2a066
|
Add find_url tests.
|
2022-02-03 15:53:36 +03:00 |
|
levlam
|
a4d80c76b3
|
Allow middle dot in hashtags.
|
2022-01-31 02:19:17 +03:00 |
|
levlam
|
d3c712e660
|
Increase maximum allowed TLD length in email address.
|
2022-01-30 13:51:28 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
19f1f66eca
|
Support tg-spoiler HTML tag.
|
2021-12-31 17:15:11 +03:00 |
|
levlam
|
68539fe846
|
Add textEntityTypeSpoiler.
|
2021-12-28 20:41:37 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
levlam
|
41c391f140
|
Update layer to 133.
|
2021-09-03 12:27:59 +03:00 |
|
levlam
|
f63196f9fa
|
Improve URL and email matching.
|
2021-09-09 17:59:24 +03:00 |
|
levlam
|
84ad2e5b19
|
Remove redundant semicolons.
|
2021-08-30 23:27:32 +03:00 |
|
levlam
|
5c2441021e
|
Add fast path in remove_invalid_entities.
|
2021-08-18 21:37:31 +03:00 |
|
levlam
|
c667f6c9bb
|
Improve test.
|
2021-08-05 01:23:16 +03:00 |
|
levlam
|
14cf908017
|
Implement find_media_timestamps.
|
2021-07-28 08:30:22 +03:00 |
|
levlam
|
389e92f1f4
|
Add skip_media_timestamps parameter to get_formatted_text.
|
2021-07-26 22:48:33 +03:00 |
|
levlam
|
13d5854e2f
|
Update match_cashtags.
|
2021-08-03 02:58:12 +03:00 |
|