diff --git a/share/misc/docbook.css b/share/misc/docbook.css index a173736976..9f28311acb 100644 --- a/share/misc/docbook.css +++ b/share/misc/docbook.css @@ -134,7 +134,7 @@ html { color: #007a00; } -svnref { +.svnref { color: #007a00; } diff --git a/share/xsl/freebsd-xhtml-common.xsl b/share/xsl/freebsd-xhtml-common.xsl index a4507b330b..b92885c8cd 100644 --- a/share/xsl/freebsd-xhtml-common.xsl +++ b/share/xsl/freebsd-xhtml-common.xsl @@ -29,8 +29,17 @@ For questions about this documentation, e-mail <<a href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>>.</small></p> </xsl:template> - <xsl:template match="hostid|username|groupname|devicename|maketarget|makevar"> - <xsl:call-template name="inline.monoseq"/> + <xsl:template match="svnref"> + <a> + <xsl:attribute name="href"> + <xsl:text>http://svnweb.freebsd.org/base?view=revision&revision=</xsl:text> + <xsl:value-of select="."/> + </xsl:attribute> + + <span class="svnref"> + <xsl:value-of select="."/> + </span> + </a> </xsl:template> <xsl:template name="generate.citerefentry.link">