]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug #1336 to add support for recognizing
authorBob Stayton <bobs@sagehill.net>
Sat, 6 Sep 2014 16:35:04 +0000 (16:35 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 6 Sep 2014 16:35:04 +0000 (16:35 +0000)
file:/ image URLs as absolute paths.

xsl/fo/graphics.xsl

index d04784a9cf67739ca6524129020220d64a46eb12..6c2cef207db748b6e69b1243b39af7b2755f0fe6 100644 (file)
         <xsl:with-param name="filename">
           <xsl:if test="$img.src.path != '' and
                         not(starts-with($filename, '/')) and
+                        not(starts-with($filename, 'file:/')) and
                         not(contains($filename, '://'))">
             <xsl:value-of select="$img.src.path"/>
           </xsl:if>