Commit 857b032d authored by Anna Lainé's avatar Anna Lainé

Fix bug in Opale missing text markups

parent b194cfad
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
<xsl:choose> <xsl:choose>
<!-- If it is directly included in a div, we have to add Opale's text markups --> <!-- If it is directly included in a div, we have to add Opale's text markups -->
<xsl:when test="parent::*[name() = 'div'] and not(parent::*[@data-hdoc-type = 'gapText']) and not(parent::*[@data-hdoc-type = 'label']) and not(parent::*[@data-hdoc-type = 'target'])"> <xsl:when test="(parent::*[name() = 'div'] or parent::*[name() = 'span']) and not(parent::*[@data-hdoc-type = 'gapText']) and not(parent::*[@data-hdoc-type = 'label']) and not(parent::*[@data-hdoc-type = 'target'])">
<sp:txt> <sp:txt>
<op:txt> <op:txt>
<xsl:call-template name="blockloop"/> <xsl:call-template name="blockloop"/>
......
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