mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 23:38:41 +08:00
Handle captions
This commit is contained in:
parent
f5dc07ddf7
commit
9f746e0216
@ -50,6 +50,13 @@
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'Caption']">
|
||||
<xsl:text><caption> </xsl:text>
|
||||
<xsl:apply-templates select="w:r/w:t" />
|
||||
<xsl:text> </caption></xsl:text>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="w:p">
|
||||
Unmatched: <xsl:value-of select="w:pPr/w:pStyle/@w:val" />
|
||||
<xsl:text>
|
||||
|
Loading…
Reference in New Issue
Block a user