Commit 83f03484 authored by Arnaud Legrand's avatar Arnaud Legrand

[HTML] Do not break the table of contents by transorming local links to gitlab links

parent 4883b691
......@@ -69,8 +69,8 @@ while(defined(my $line=<INPUT>)) {
$line =~ s|img src="%|img src="http|g;
$line =~ s|href="http|href="%|g;
$line =~ s|href="([^%][^"]*.tgz)"|href="$raw_path_percent/$1"|g; # ?inline=false
$line =~ s|href="([^%][^"]*)"|href="$tree_path/$1"|g; # ?inline=false
$line =~ s|href="([^%#][^"]*.tgz)"|href="$raw_path_percent/$1"|g; # ?inline=false
$line =~ s|href="([^%#][^"]*)"|href="$tree_path/$1"|g; # ?inline=false
$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