lib/avv2word/xslt/base.xslt in avv2word-1.1.33 vs lib/avv2word/xslt/base.xslt in avv2word-1.1.34
- old
+ new
@@ -583,6 +583,18 @@
<w:delText><xsl:value-of select="."/></w:delText>
</w:r>
</w:del>
</xsl:template>
+ <xsl:template match="comment">
+ <xsl:number level="any" count="comment" format="1"/>
+ <w:commentRangeStart w:id="{format-number(count(preceding::comment),'0')}"/>
+ <w:r>
+ <w:t xml:space="preserve"><xsl:value-of select="."/></w:t>
+ </w:r>
+ <w:commentRangeEnd w:id="{format-number(count(preceding::comment),'0')}"/>
+ <w:r>
+ <w:commentReference w:id="{format-number(count(preceding::comment),'0')}"/>
+ </w:r>
+ </xsl:template>
+
</xsl:stylesheet>