Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 09:29:52 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject:   svn commit: r41405 - projects/xml-tools/share/xsl
Message-ID:  <201304110929.r3B9Tqim002179@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 &lt;<a href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>&gt;.</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|



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304110929.r3B9Tqim002179>