From: Norman Walsh Date: Thu, 27 Oct 2005 13:46:46 +0000 (+0000) Subject: If the keep.relative.image.uris parameter is true, don't use the absolute URI (as... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b8bc38d7a23baadd641b5aa01fb3924eb9e36f5;p=docbook-dsssl If the keep.relative.image.uris parameter is true, don't use the absolute URI (as calculated from xml:base) in the img src attribute, us the value the author specified. Note that we still have to calculate the absolute filename for use in the image intrinsics extension. --- diff --git a/xsl/html/graphics.xsl b/xsl/html/graphics.xsl index e267e08c7..57db7192a 100644 --- a/xsl/html/graphics.xsl +++ b/xsl/html/graphics.xsl @@ -231,6 +231,20 @@ + + + + + + + + + + + + + + - + @@ -534,7 +548,7 @@ valign: - + @@ -575,12 +589,12 @@ valign: + not(starts-with($output_filename, '/')) and + not(contains($output_filename, '://'))"> - +