Apply fixes from StyleCI
This commit is contained in:
parent
f2d107df90
commit
c39b28122b
@ -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