1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:39:01 +01:00

Adapt to new behavior

This commit is contained in:
Daniil Gentili 2024-04-20 00:08:17 +02:00
parent f95067d4c6
commit 95204d86b9

View File

@ -153,6 +153,7 @@ class EntitiesTest extends TestCase
'type' => 'bold', 'type' => 'bold',
], ],
], ],
'test<b>test</b>',
], ],
[ [
'html', 'html',
@ -283,7 +284,7 @@ class EntitiesTest extends TestCase
[ [
'markdown', 'markdown',
"a\n```php\n<?php\necho 'yay';\n```", "a\n```php\n<?php\necho 'yay';\n```",
"a\n<?php\necho 'yay';\n", "a\n<?php\necho 'yay';",
[ [
[ [
'offset' => 2, 'offset' => 2,