Commit b194cfad authored by Anna Lainé's avatar Anna Lainé

Fix bug introduction

parent d132909b
......@@ -111,16 +111,10 @@
<!-- Body related templates. -->
<xsl:template match="h:body">
<xsl:if test="./h:section/h:div[@data-hdoc-type = 'introduction']/*">
<xsl:if test="./h:section[@data-hdoc-type = 'introduction']/h:div/*">
<sp:intro>
<op:res>
<sp:txt>
<op:txt>
<sc:para>
<xsl:apply-templates select="./h:section/h:div[@data-hdoc-type = 'introduction']/*" />
</sc:para>
</op:txt>
</sp:txt>
<xsl:apply-templates select="./h:section[@data-hdoc-type = 'introduction']/h:div/*" />
</op:res>
</sp:intro>
</xsl:if>
......
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