summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/html-to-website-xml.xsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl
index 7b20d060b4..e42063a7a3 100644
--- a/docs/html-to-website-xml.xsl
+++ b/docs/html-to-website-xml.xsl
@@ -71,5 +71,11 @@
</pre>
</xsl:template>
+<xsl:template match="div[@class='cmdsynopsis']">
+ <div class="cmdsynopsis" id="{p/code[@class='command']}">
+ <xsl:apply-templates select="node()"/>
+ </div>
+</xsl:template>
+
</xsl:stylesheet>