legi2odf: handle emphasis elements that are not enclosed in <para>
This commit is contained in:
parent
cbeb691a41
commit
ce41206cb8
|
@ -257,7 +257,13 @@
|
|||
</text:note>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis" mode="inline">
|
||||
<xsl:template match="emphasis"> <!-- catch them out of <para> -->
|
||||
<text:p>
|
||||
<xsl:call-template name="inline-emphasis" mode="inline"/>
|
||||
</text:p>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="inline-emphasis" match="emphasis" mode="inline">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@role = 'bold'"/>
|
||||
<xsl:when test="@role = 'underline'"/>
|
||||
|
|
Reference in New Issue