Closed marlenus closed 9 months ago
Error if the url contains &: DOMDocument::loadXML(): EntityRef: expecting ';' in Entity, line: 4 in /app/vendor/danog/madelineproto/src/TL/Conversion/DOMEntities.php:51
https://github.com/danog/MadelineProto/blob/a3ddd49881cde87c9b5748be4e1cecf2927b7aa5/src/StrTools.php#L154C77-L154C77
$entity instanceof TextUrl => '<a href="'.htmlentities($entity->url).'">',
Already fixed in the latest beta.
Error if the url contains &: DOMDocument::loadXML(): EntityRef: expecting ';' in Entity, line: 4 in /app/vendor/danog/madelineproto/src/TL/Conversion/DOMEntities.php:51
https://github.com/danog/MadelineProto/blob/a3ddd49881cde87c9b5748be4e1cecf2927b7aa5/src/StrTools.php#L154C77-L154C77
$entity instanceof TextUrl => '<a href="'.htmlentities($entity->url).'">',