From: Bob Stayton Date: Mon, 22 Oct 2012 22:43:30 +0000 (+0000) Subject: Fix bug #3558068 where svg property was set on a chunk when X-Git-Tag: release/1.79.1~6^2~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fcd0853c8a93b2678d9a6b9e1d741f329a97eea;p=docbook-dsssl Fix bug #3558068 where svg property was set on a chunk when it should not be because a mediaobject contained multiple imageobjects and the svg was not selected for epub output. --- diff --git a/xsl/epub3/epub3-element-mods.xsl b/xsl/epub3/epub3-element-mods.xsl index 445146c8f..c24ecc5be 100644 --- a/xsl/epub3/epub3-element-mods.xsl +++ b/xsl/epub3/epub3-element-mods.xsl @@ -1399,34 +1399,60 @@ article toc,title,figure,table,example,equation + select="$this.chunk//mediaobject"/> + select="$next.chunk/preceding::mediaobject"/> - + + + + + + + + + + + svg + + + - - - + svg - - - + + + + + + + + + + + + svg + + + + + svg - +