diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-03-18 19:19:54 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-03-18 19:19:54 +0100 |
commit | 60f410ecc981fd87610a6302cdd0160a6b5373f0 (patch) | |
tree | 8d22ee8a67cc320b217bfe2ee03f336c9b03b079 | |
parent | 7018802703f4d4a3ec1af302fe3f4d44114c9653 (diff) | |
download | mutti-web-60f410ecc981fd87610a6302cdd0160a6b5373f0.tar.gz mutti-web-60f410ecc981fd87610a6302cdd0160a6b5373f0.tar.bz2 mutti-web-60f410ecc981fd87610a6302cdd0160a6b5373f0.zip |
Switch to a (x)html5 doctype
-rw-r--r-- | xsl/common.xsl | 6 | ||||
-rw-r--r-- | xsl/layout.xsl | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/xsl/common.xsl b/xsl/common.xsl index be3b856..f2e00ec 100644 --- a/xsl/common.xsl +++ b/xsl/common.xsl @@ -15,12 +15,10 @@ <xsl:variable name="title" select="document('../main.xml')/s:site/s:page[@filename = $filename]/@title" /> <xsl:param name="suffix" select="'.xml'" /> - <xsl:output method="xml" indent="yes" - doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + <xsl:output method="xml" indent="yes" encoding="utf-8" cdata-section-elements="script style" media-type="application/xhtml+xml" - encoding="UTF-8" + doctype-system="about:legacy-compat" /> <xsl:template match="html:*" mode="html"> diff --git a/xsl/layout.xsl b/xsl/layout.xsl index 4b64558..e8183be 100644 --- a/xsl/layout.xsl +++ b/xsl/layout.xsl @@ -77,7 +77,7 @@ </div> <div id="footer"> <p> - <xsl:text disable-output-escaping="yes"><![CDATA[© 2007 All Rights Reserved.]]></xsl:text> + <xsl:text disable-output-escaping="yes"><![CDATA[© 2007 All Rights Reserved.]]></xsl:text> <xsl:text>Designed by </xsl:text> <a href="http://www.freecsstemplates.org/">Free CSS Templates</a> <xsl:text>. </xsl:text> |