Author: toad
Date: 2007-12-22 22:56:56 +0000 (Sat, 22 Dec 2007)
New Revision: 16795

Modified:
   trunk/freenet/src/freenet/clients/http/PageMaker.java
Log:
<meta> before <title>

Modified: trunk/freenet/src/freenet/clients/http/PageMaker.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PageMaker.java       2007-12-22 
21:46:37 UTC (rev 16794)
+++ trunk/freenet/src/freenet/clients/http/PageMaker.java       2007-12-22 
22:56:56 UTC (rev 16795)
@@ -92,8 +92,8 @@
                HTMLNode pageNode = new HTMLNode.HTMLDoctype("html", 
"-//W3C//DTD XHTML 1.1//EN");
                HTMLNode htmlNode = pageNode.addChild("html", "xml:lang", 
L10n.getSelectedLanguage());
                HTMLNode headNode = htmlNode.addChild("head");
+               headNode.addChild("meta", new String[] { "http-equiv", 
"content" }, new String[] { "Content-Type", "text/html; charset=utf-8" });
                headNode.addChild("title", title + " - Freenet");
-               headNode.addChild("meta", new String[] { "http-equiv", 
"content" }, new String[] { "Content-Type", "text/html; charset=utf-8" });
                if(override == null)
                        headNode.addChild("link", new String[] { "rel", "href", 
"type", "title" }, new String[] { "stylesheet", "/static/themes/" + theme + 
"/theme.css", "text/css", theme });
                else


Reply via email to