Commit fdc03387 authored by Arnaud Legrand's avatar Arnaud Legrand

This URL fix should allow images to be correctly rendered

parent 089c5be7
...@@ -41,7 +41,7 @@ while(defined($line=<INPUT>)) { ...@@ -41,7 +41,7 @@ while(defined($line=<INPUT>)) {
$line =~ s|href=" ---</p>|<hr/>|g; $line =~ s|href=" ---</p>|<hr/>|g;
$line =~ s|img src="http|img src="%|g; $line =~ s|img src="http|img src="%|g;
$line =~ s|img src="([^%][^"]*)"|img src="$url_path/$1"|g; $line =~ s|img src="([^%][^"]*)"|img src="$url_path/$1?inline=false"|g;
$line =~ s|img src="%|img src="http|g; $line =~ s|img src="%|img src="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