Skip to content

Commit 186a7d0

Browse files
committed
Silence a redefinition warning
1 parent 498e204 commit 186a7d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Text/MultiMarkdown.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,10 @@ sub _transliteration_id_handler {
303303
return $label;
304304
}
305305

306+
{
307+
no warnings qw(redefine);
306308
*_transliteration_id_handler = \&_default_id_handler unless $has_unidecode;
309+
}
307310

308311
sub _unicode_id_handler {
309312
my ($label) = @_;

0 commit comments

Comments
 (0)