Commit c5325aa2 authored by Arnaud Legrand's avatar Arnaud Legrand

Fix #1

parent 205113d3
...@@ -75,6 +75,7 @@ sub pandoc_export { ...@@ -75,6 +75,7 @@ sub pandoc_export {
$line =~ s|href="http|href="%|g; $line =~ s|href="http|href="%|g;
$line =~ s|href="([^%#][^"]*.tgz)"|href="$pages_path_percent/$1"|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="$tree_path/$1"|g; # ?inline=false
$line =~ s|href="(#[^"]*)-"|href="$1"|g;
$line =~ s|href="%|href="http|g; $line =~ s|href="%|href="http|g;
# if($line =~ /img src="([^%][^"]*)"/) { # 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