Ooops, need correct regex flags.
This commit is contained in:
parent
8ee9a2caa3
commit
276ca8e0cd
@ -1036,7 +1036,7 @@ sub html_to_markdown {
|
|||||||
$body =~ s|<>||g;
|
$body =~ s|<>||g;
|
||||||
|
|
||||||
# Fix underscores in links
|
# Fix underscores in links
|
||||||
$body =~ s|\[([^\]]+)\]|_fix_link_underscores($1)|g;
|
$body =~ s|\[([^\]]+)\]|_fix_link_underscores($1)|ge;
|
||||||
|
|
||||||
$body =~ s|\n\n+|\n\n|g;
|
$body =~ s|\n\n+|\n\n|g;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user