removing wasted bytes from the website header
Eitan Adler
lists at eitanadler.com
Sat Dec 22 03:46:43 UTC 2012
Hey,
What do you think of this? The second part was lightly tested. The
remaining claims were verified by various compatibility tables.
commit 596b3cfd01ce76bdd64e52bf1e32458879414ac4
Author: Eitan Adler <lists at eitanadler.com>
Date: Fri Dec 21 22:31:10 2012 -0500
MSSmartTagsPreventParsing is an ancient feature and including the header
is now pointless bytes.
All current browsers accept "shortcut icon" as <link> location.
Reviewed by: doc
Approved by: ??? (mentor)
diff --git a/share/xml/xhtml.xsl b/share/xml/xhtml.xsl
index 2175e25..82a43d8 100644
--- a/share/xml/xhtml.xsl
+++ b/share/xml/xhtml.xsl
@@ -38,11 +38,9 @@
<head>
<title><xsl:value-of select="$title" /></title>
<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"/>
<link rel="shortcut icon" href="&enbase;/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" media="screen" href="&stylesheet;" type="text/css"/>
- <link rel="icon" href="&enbase;/favicon.ico" type="image/x-icon" />
<xsl:copy-of select="/xhtml:html/xhtml:head/xhtml:link"/>
<xsl:call-template name="process.rss.link"/>
&header1.googlejs;
--
Eitan Adler
More information about the freebsd-doc
mailing list