i/k different styles inside zgled
This commit is contained in:
parent
b7db28c925
commit
52f7858d8a
9
view.xsl
9
view.xsl
|
@ -235,9 +235,14 @@
|
|||
<li><xsl:apply-templates/></li>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="zgled//i | zgled//k | zgled//l">
|
||||
<!-- hightlighting i/k inside zgled elements -->
|
||||
<xsl:template match="zgled//i">
|
||||
<xsl:text xml:space="preserve"> </xsl:text>
|
||||
<span class="xslt-zgled-highlight"><xsl:apply-templates/></span>
|
||||
<span class="xslt-zgled-highlight-i"><xsl:apply-templates/></span>
|
||||
</xsl:template>
|
||||
<xsl:template match="zgled//k">
|
||||
<xsl:text xml:space="preserve"> </xsl:text>
|
||||
<span class="xslt-zgled-highlight-k"><xsl:apply-templates/></span>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
Loading…
Reference in New Issue
Block a user