From ae5cd666316695ad18ea0e5305582bd10214393d Mon Sep 17 00:00:00 2001 From: Ricky Zhou Date: Tue, 11 Sep 2007 19:27:57 -0700 Subject: [PATCH] Generate valid XHTML for now (until TG supports passing more options to Genshi)- minor template fix/validation corrections. --- fas/fas/config/app.cfg | 3 ++- fas/fas/templates/login.html | 14 +++++++------- fas/fas/templates/master.html | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/fas/fas/config/app.cfg b/fas/fas/config/app.cfg index 414603f..2e8e940 100644 --- a/fas/fas/config/app.cfg +++ b/fas/fas/config/app.cfg @@ -19,9 +19,10 @@ tg.defaultview = "genshi" # One of (html|html-strict|xhtml|xhtml-strict|xml|json) # kid.outputformat="html" -genshi.outputformat = "html" +genshi.outputformat = "xhtml" # When @#%*( TG supports this.... +#genshi.outputformat = "html" #genshi.default_doctype = "html-strict" # kid.encoding="utf-8" diff --git a/fas/fas/templates/login.html b/fas/fas/templates/login.html index 3cb846f..2165cd4 100644 --- a/fas/fas/templates/login.html +++ b/fas/fas/templates/login.html @@ -5,14 +5,14 @@ Login to the Fedora Accounts System + -

Login

${message}

diff --git a/fas/fas/templates/master.html b/fas/fas/templates/master.html index 0ed9ba0..53164ad 100644 --- a/fas/fas/templates/master.html +++ b/fas/fas/templates/master.html @@ -3,9 +3,9 @@ xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:py="http://genshi.edgewall.org/" py:strip=""> - - ${title} + +