diff --git a/bin/pandoc_fixer.pl b/bin/pandoc_fixer.pl index b17150adf9201489fbbbb00230fce1b031ebbeed..aeb7c689f4fb6fbcab3e1ec83f28ec055d27750c 100755 --- a/bin/pandoc_fixer.pl +++ b/bin/pandoc_fixer.pl @@ -75,6 +75,7 @@ sub pandoc_export { $line =~ s|href="http|href="%|g; $line =~ s|href="([^%#][^"]*.tgz)"|href="$pages_path_percent/$1"|g; $line =~ s|href="([^%#][^"]*)"|href="$tree_path/$1"|g; # ?inline=false + $line =~ s|href="(#[^"]*)-"|href="$1"|g; $line =~ s|href="%|href="http|g; # if($line =~ /img src="([^%][^"]*)"/) {