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 |
|
levlam
|
9628668def
|
Minor improvements.
|
2021-06-23 03:22:23 +03:00 |
|
levlam
|
8b87e8ed56
|
Allow pre, TextUrl and TextMention entities, containing only new lines.
|
2021-06-09 20:35:02 +03:00 |
|
levlam
|
a630c87178
|
Add tg URLs parsing.
|
2021-06-03 18:27:40 +03:00 |
|
levlam
|
c9de490c7f
|
Allow dashes in URLs.
|
2021-06-03 15:21:26 +03:00 |
|
levlam
|
90e253d90c
|
Remove REGISTER_TESTS define.
|
2021-05-26 00:41:15 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
add28462a0
|
Fix Slice underflow.
|
2021-05-14 13:18:52 +03:00 |
|
levlam
|
f0e7b211c3
|
Use case-insensitive comparison for short mention entities.
|
2021-03-20 22:57:34 +03:00 |
|
levlam
|
b07a9efb2e
|
Disable SFTP link highlighting.
|
2021-02-03 21:08:01 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
582206d641
|
Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
|
2020-10-08 12:56:08 +03:00 |
|
levlam
|
8a1ffe0cbb
|
Fix remove_invalid_entities.
GitOrigin-RevId: 6cad36ac6017dcc3870411129a1b0512f9351d17
|
2020-07-13 15:34:56 +03:00 |
|
levlam
|
480f826d16
|
Do not use C-style casts.
GitOrigin-RevId: 6187bc8f4837fd40aba7ef613e09ecb93e3cf951
|
2020-06-14 05:27:49 +03:00 |
|
levlam
|
42f88e3b72
|
Remove whitespaces at the beginning of some entities.
GitOrigin-RevId: b0597524571c15b3ffbfec613cb856bfa6e7a224
|
2020-05-11 01:31:29 +03:00 |
|
levlam
|
f88735b9a9
|
Do not highlight parts of float numbers as bank card numbers.
GitOrigin-RevId: cc58f030c6485c393f115fb89a4e9a5b2e6b40b9
|
2020-05-07 23:11:54 +03:00 |
|
levlam
|
390d66e3d2
|
Improve match_bank_card_numbers.
GitOrigin-RevId: 1df7c2fc487a66ba12e92d80d63e355d1490cef5
|
2020-05-05 03:15:30 +03:00 |
|
levlam
|
06e74cfba9
|
Remove whitespace-only entities added in merge_entities.
GitOrigin-RevId: 8b2dbe05d0758639c4447fbfec038b8350dfda9a
|
2020-04-22 00:57:00 +03:00 |
|
levlam
|
f42a955d75
|
Replace some offending characters in all strings.
GitOrigin-RevId: a942e9a71db7b5bc3c1be6b15f9b21d767c3d803
|
2020-04-08 01:23:05 +03:00 |
|
levlam
|
dca3862088
|
Update fix_formatted_text test.
GitOrigin-RevId: ab55a080724eaff5f2074cc7273aafc7285d6fa8
|
2020-03-12 16:42:39 +03:00 |
|
levlam
|
9c67f42682
|
Add td_api::getMarkdownText.
GitOrigin-RevId: b463cc2c92052c552d66d774450ffa7bb4bc132e
|
2020-03-12 06:22:14 +03:00 |
|
levlam
|
e6efab096a
|
Add tests for parse_markdown_v3.
GitOrigin-RevId: 1fc21dbdf3871cc3a30286cf9ebca257c70a299c
|
2020-03-12 02:49:16 +03:00 |
|
levlam
|
ed7e486668
|
Improve parse_markdown_v3 test and fix parse_text_url_entities_v3.
GitOrigin-RevId: 337b87cbb885f92f30c9c95603b0ac37693d104f
|
2020-03-12 01:44:42 +03:00 |
|
levlam
|
532567a475
|
Resort entities if needed after rtrim.
GitOrigin-RevId: f3124b2dc72e1b7858dde90133c5313025103603
|
2020-03-10 17:22:57 +03:00 |
|
levlam
|
718067e218
|
Remove wrong check from remove_invalid_entities.
GitOrigin-RevId: 843dea6a6668de87287a23532d95e9c6712c5b09
|
2020-03-10 17:06:22 +03:00 |
|
levlam
|
6417510d51
|
Return all entities in get_message_entities.
GitOrigin-RevId: b08c7a9ab0cfa9a78e450d5cbf3567203abd7d67
|
2020-03-10 03:51:56 +03:00 |
|
levlam
|
1068cac8f0
|
Add synchronous td_api::parseMarkdown method.
GitOrigin-RevId: 89f59eda7076959a6bed9db006f895298e2fd66c
|
2020-03-09 23:55:32 +03:00 |
|
levlam
|
2ece58302c
|
Add more checks to random fix_formatted_text test.
GitOrigin-RevId: e0bf70edf7d93032a4a1ee964fd37b7374f3a4e5
|
2020-02-25 01:28:33 +03:00 |
|
levlam
|
81d0172f33
|
Correctly merge new entities.
GitOrigin-RevId: 6ca976a3c17030cffb0c32119389ea5a8c1050ff
|
2020-02-24 20:26:08 +03:00 |
|
levlam
|
c77a576e83
|
Improve random fix_formatted_text test.
GitOrigin-RevId: 904278ac9f8c36afdddfdd4f23d74102c68f09c6
|
2020-02-21 17:10:10 +03:00 |
|
levlam
|
6b21b27cae
|
Add random fix_formatted_text test.
GitOrigin-RevId: 35d2bf822bfebe4221a3495bb83fb2555a984a1c
|
2020-02-21 16:22:40 +03:00 |
|
levlam
|
185d0fd22f
|
Add more fix_formatted_text tests.
GitOrigin-RevId: c24e52c88921226d63fead4dbf7331921bd8f185
|
2020-02-21 14:56:26 +03:00 |
|
levlam
|
48b9f38d4a
|
Return error on incorrect text entities.
GitOrigin-RevId: 46862113571eb16a80ef3bcdf3a6352593dee0dc
|
2020-02-20 02:26:36 +03:00 |
|
levlam
|
7b87d84c39
|
Add find_bank_card_numbers test.
GitOrigin-RevId: 0905d918980d52267fb5cfea627737d22c8ea1d2
|
2020-02-15 04:07:19 +03:00 |
|
levlam
|
ece4fd0e93
|
Add message entities tests.
GitOrigin-RevId: fd04d3ebc4619d2b6be4282043a1333d824d7ee6
|
2020-01-02 17:46:19 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
3c83e72c49
|
Add '-' to the list of reserved characters.
GitOrigin-RevId: 97a77a46d7003e53021198bd1b57894df4fa5108
|
2019-12-25 01:57:33 +03:00 |
|
levlam
|
adb10460b2
|
Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
|
2019-12-23 20:48:30 +03:00 |
|
levlam
|
1bb59a3261
|
Support new entity types in parse_html.
GitOrigin-RevId: 1a12c3736f4e0921f133b3ac914620b4a01f0efe
|
2019-12-10 05:46:58 +03:00 |
|