<code> support

This commit is contained in:
0 2014-09-11 12:35:11 +02:00
parent 009e925452
commit b6812a4b58
2 changed files with 8 additions and 0 deletions

View File

@ -119,6 +119,7 @@
<xs:element ref="em"/> <xs:element ref="em"/>
<xs:element ref="strong"/> <xs:element ref="strong"/>
<xs:element ref="image"/> <xs:element ref="image"/>
<xs:element ref="code"/>
</xs:choice> </xs:choice>
</xs:group> </xs:group>
@ -164,6 +165,8 @@
<xs:element name="strong" type="xs:string"/> <xs:element name="strong" type="xs:string"/>
<xs:element name="code" type="xs:string"/>
<xs:element name="dl"> <xs:element name="dl">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>

View File

@ -149,6 +149,11 @@
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:template match="code">
<code>
<xsl:apply-templates/>
</code>
</xsl:template>
<xsl:template match="em"> <xsl:template match="em">
<em> <em>
<xsl:apply-templates/> <xsl:apply-templates/>