You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bo...@apache.org on 2011/12/24 17:06:48 UTC

svn commit: r1222993 - /tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt

Author: bobharner
Date: Sat Dec 24 16:06:47 2011
New Revision: 1222993

URL: http://svn.apache.org/viewvc?rev=1222993&view=rev
Log:
Added meta tag to tell IE to render in IE 9 standards mode. This is a work-around for the autoexport plugin bug that prevents the DOCTYPE declaration from appearing at the top of the HTML, which makes IE render in Quirks mode. This work-around *should* fix all the page layout bugs seen in IE.

Modified:
    tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt

Modified: tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt?rev=1222993&r1=1222992&r2=1222993&view=diff
==============================================================================
--- tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt (original)
+++ tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt Sat Dec 24 16:06:47 2011
@@ -22,13 +22,14 @@
 -->
 <html>
 <head>
+  <meta http-equiv="x-ua-compatible" content="IE=9">
   <title>
 #if (! $page.title.equals("Index") && ! $page.title.equals("IndexV2"))
-$page.title -- Apache Tapestry
+    $page.title -- Apache Tapestry
 #else
-Apache Tapestry Home Page
+    Apache Tapestry Home Page
 #end
-</title>
+  </title>
   <link type="text/css" rel="stylesheet" href="$stylesheet">
   <link href="http://svn.apache.org/repos/asf/tapestry/tapestry-site/branches/post-5.2-site/publish/styles/style.css" rel="stylesheet" type="text/css"/>
 </head>