|
@@ -391,7 +391,7 @@ sub notify
|
|
|
|
|
|
|
|
my $disable_error_handler = delete $params->{disable_error_handler};
|
|
my $disable_error_handler = delete $params->{disable_error_handler};
|
|
|
|
|
|
|
|
- if ($params->{parse_mode} eq "HTML")
|
|
|
|
|
|
|
+ if ($params->{parse_mode} && $params->{parse_mode} eq "HTML")
|
|
|
{
|
|
{
|
|
|
$params->{text} = $html_strip->process($params->{text});
|
|
$params->{text} = $html_strip->process($params->{text});
|
|
|
}
|
|
}
|