</element>
</element>
</when>
- <when test="starts-with($text, '⚠︎') and &sigiled-text;">
+ <when test="starts-with($text, '⚠') and &sigiled-text;">
<element name="div" namespace="&xhtml;">
<attribute name="role">
<text>note</text>
</for-each>
</element>
</when>
+ <when test="not(processing-instruction()[local-name()='LesML-Continuation'])">
+ <copy>
+ <apply-templates select="@*|node()" mode="LesML:finalize-tree"/>
+ <for-each select="exslset:leading(following-sibling::node(), $notcontinuation)">
+ <apply-templates select="node()" mode="LesML:finalize-tree"/>
+ </for-each>
+ </copy>
+ </when>
<otherwise>
<apply-templates select="node()" mode="LesML:finalize-tree"/>
<for-each select="exslset:leading(following-sibling::node(), $notcontinuation)">