Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusPC committed May 10, 2020
1 parent 6d5e404 commit f51045a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TelegramBot.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,6 @@ protected function executeCommand(string $command, array $update) : bool {
* @return string Stripped down to bare formatting HTML.
*/
public function stripHTML(string $html) {
return \strip_tags($string, '<b><strong><i><em><u><ins><s><strike><del><a><code><pre>');
return \strip_tags($html, '<b><strong><i><em><u><ins><s><strike><del><a><code><pre>');
}
}

0 comments on commit f51045a

Please sign in to comment.