Commit 5553bcb3 authored by Anna Lainé's avatar Anna Lainé

Fix problem images twice

parent 6dd9f05d
......@@ -89,7 +89,7 @@
select="following-sibling::*[starts-with(name(), 'h')][1]"/>
<xsl:apply-templates
select="following-sibling::div[contains(@class,'thumb tleft') or contains(@class,'thumb tright')] intersect $nextTitle/preceding-sibling::*"/>
select="following-sibling::div[contains(@class,'thumb tleft') or contains(@class,'thumb tright') and not(descendant::img)] intersect $nextTitle/preceding-sibling::*"/>
<!-- <xsl:apply-templates select="following-sibling::p/img"/>-->
<!-- If there is text right below the section name, copy it -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment