Commit 1c267ca6 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Add a comment

parent b286ed68
......@@ -249,6 +249,7 @@ sub decorate_email_concealed {
} elsif ($item->{event} eq 'start'
and $item->{attr}
and 0 == index(lc($item->{attr}->{href} // ''), 'mailto:')) {
# Empties mailto URL in link target
my $text = $item->{text};
$text =~ s{(?<=\bhref=)[^\s>]+}{"mailto:"}gi;
$decorated .= $text;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment