From fdc03387bfc0168a8d598e2be8ec92ffd3392200 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Thu, 21 Mar 2019 19:33:44 +0100 Subject: [PATCH] This URL fix should allow images to be correctly rendered --- bin/pandoc_fixer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pandoc_fixer.pl b/bin/pandoc_fixer.pl index 82e95a0..e2f6206 100755 --- a/bin/pandoc_fixer.pl +++ b/bin/pandoc_fixer.pl @@ -41,7 +41,7 @@ while(defined($line=)) { $line =~ s|href=" ---

|
|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; # if($line =~ /img src="([^%][^"]*)"/) { -- 2.18.1