From: Bob Stayton Date: Sat, 6 Sep 2014 08:14:22 +0000 (+0000) Subject: Check in fix for bug #1336 to support absolute file URLs X-Git-Tag: release/1.79.1~6^2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb786b5928cb7cb57e4537b1d1b0e780f66cd354;p=docbook-dsssl Check in fix for bug #1336 to support absolute file URLs that start with file:/. Also consolidate code that determines whether an image file path is relative into a new template variable $is.relative. --- diff --git a/xsl/html/graphics.xsl b/xsl/html/graphics.xsl index a1fcb0623..e1de9b1c6 100644 --- a/xsl/html/graphics.xsl +++ b/xsl/html/graphics.xsl @@ -252,37 +252,31 @@ - - - - - - - - - - - - + + + + 1 + 0 + + + - + @@ -550,14 +544,11 @@ valign: - + - + @@ -584,14 +575,11 @@ valign: - + - + @@ -611,14 +599,11 @@ valign: - + - +