svn commit: r40473 - in head: en_US.ISO8859-1/htdocs share/xml
Hiroki Sato
hrs at FreeBSD.org
Mon Dec 24 19:14:16 UTC 2012
Author: hrs
Date: Mon Dec 24 19:14:15 2012
New Revision: 40473
URL: http://svnweb.freebsd.org/changeset/doc/40473
Log:
Use <xhtml:base> to fix resolution of relative document URIs.
Modified:
head/en_US.ISO8859-1/htdocs/4xx.xml
head/share/xml/xhtml.xsl
Modified: head/en_US.ISO8859-1/htdocs/4xx.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/4xx.xml Mon Dec 24 17:40:30 2012 (r40472)
+++ head/en_US.ISO8859-1/htdocs/4xx.xml Mon Dec 24 19:14:15 2012 (r40473)
@@ -9,6 +9,8 @@
<title>&title;</title>
<cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
+
+ <base href="/" />
</head>
<body class="navinclude.about">
Modified: head/share/xml/xhtml.xsl
==============================================================================
--- head/share/xml/xhtml.xsl Mon Dec 24 17:40:30 2012 (r40472)
+++ head/share/xml/xhtml.xsl Mon Dec 24 19:14:15 2012 (r40473)
@@ -37,6 +37,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><xsl:value-of select="$title" /></title>
+ <xsl:copy-of select="/xhtml:html/xhtml:head/xhtml:base" />
<meta http-equiv="Content-Type" content="text/html; charset=&xml.encoding;" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<xsl:copy-of select="/xhtml:html/xhtml:head/xhtml:meta"/>
More information about the svn-doc-head
mailing list