svn commit: r41405 - projects/xml-tools/share/xsl

Gabor Kovesdan gabor at FreeBSD.org
Thu Apr 11 09:29:52 UTC 2013


Author: gabor
Date: Thu Apr 11 09:29:52 2013
New Revision: 41405
URL: http://svnweb.freebsd.org/changeset/doc/41405

Log:
  - Fix rendering of titles in the toc, which contain a man page reference

Modified:
  projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl

Modified: projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl
==============================================================================
--- projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl	Thu Apr 11 06:35:51 2013	(r41404)
+++ projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl	Thu Apr 11 09:29:52 2013	(r41405)
@@ -48,6 +48,14 @@
     For questions about this documentation, e-mail <<a href="mailto:doc at FreeBSD.org">doc at FreeBSD.org</a>>.</small></p>
   </xsl:template>
 
+  <xsl:template match="citerefentry" mode="no.anchor.mode">
+    <xsl:apply-templates select="*" mode="no.anchor.mode"/>
+  </xsl:template>
+
+  <xsl:template match="refentrytitle" mode="no.anchor.mode">
+    <xsl:value-of select="."/>
+  </xsl:template>
+
   <!-- Add title class to emitted hX -->
   <xsl:template match="bridgehead">
     <xsl:variable name="container" select="(ancestor::appendix|ancestor::article|ancestor::bibliography|


More information about the svn-doc-projects mailing list