Commit 5e54fbe1 authored by Arnaud Legrand's avatar Arnaud Legrand

Close #2

parent c5325aa2
......@@ -76,6 +76,9 @@ sub pandoc_export {
$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="$1-$2"|g;
$line =~ s|href="(#[^"]*)--([^"]*)"|href="$1-$2"|g;
$line =~ s|href="(#[^"]*)--([^"]*)"|href="$1-$2"|g;
$line =~ s|href="%|href="http|g;
# if($line =~ /img src="([^%][^"]*)"/) {
......
Markdown is supported
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