Merge branch 'beta' of https://github.com/danog/MadelineProto into beta
This commit is contained in:
commit
ec0a5e4190
@ -414,7 +414,6 @@ trait BotAPI
|
|||||||
if (preg_match('/html/i', $arguments['parse_mode'])) {
|
if (preg_match('/html/i', $arguments['parse_mode'])) {
|
||||||
$new_message = '';
|
$new_message = '';
|
||||||
|
|
||||||
|
|
||||||
$arguments['message'] = $this->html_fixtags($arguments['message']);
|
$arguments['message'] = $this->html_fixtags($arguments['message']);
|
||||||
$dom = new \DOMDocument();
|
$dom = new \DOMDocument();
|
||||||
$dom->loadHTML(mb_convert_encoding($arguments['message'], 'HTML-ENTITIES', 'UTF-8'));
|
$dom->loadHTML(mb_convert_encoding($arguments['message'], 'HTML-ENTITIES', 'UTF-8'));
|
||||||
|
Loading…
Reference in New Issue
Block a user