From df3b16c3aedd17dcff94bca41ac2d55c34dd0b07 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Wed, 25 Jun 2008 14:48:02 +0000
Subject: [PATCH] Explicitly tell the view that we're using XHTML, so it
 outputs valid XHTML.

---
 library/App/Controller/Action.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/library/App/Controller/Action.php b/library/App/Controller/Action.php
index f798aab1..54214761 100644
--- a/library/App/Controller/Action.php
+++ b/library/App/Controller/Action.php
@@ -6,6 +6,7 @@ class App_Controller_Action extends Unl_Controller_Action
     {
         parent::init();
         $this->view->addHelperPath(dirname(__FILE__) . '/../View/Helper', 'App_View_Helper');
+        $this->view->doctype()->setDoctype(Zend_View_Helper_Doctype::XHTML1_TRANSITIONAL);
         // Zend_Controller_Action_HelperBroker::addPrefix('App_Controller_Helper');
     }
 }
-- 
GitLab