Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-02 23:22:15 +00:00 committed by StyleCI Bot
parent f2d107df90
commit c39b28122b

View File

@ -414,7 +414,6 @@ trait BotAPI
if (preg_match('/html/i', $arguments['parse_mode'])) {
$new_message = '';
$arguments['message'] = $this->html_fixtags($arguments['message']);
$dom = new \DOMDocument();
$dom->loadHTML(mb_convert_encoding($arguments['message'], 'HTML-ENTITIES', 'UTF-8'));