Index: /branches/feature-module-update/data/class/SC_View.php
===================================================================
--- /branches/feature-module-update/data/class/SC_View.php	(revision 15650)
+++ /branches/feature-module-update/data/class/SC_View.php	(revision 15697)
@@ -48,5 +48,6 @@
         $this->_smarty->register_function("sfIsHTTPS", array("SC_Utils_Ex", "sfIsHTTPS"));
         $this->_smarty->register_function("sfSetErrorStyle", array("SC_Utils_Ex", "sfSetErrorStyle"));
-        $this->_smarty->default_modifiers = array('script_escape');
+        $this->_smarty->register_function("printXMLDeclaration", array("SC_Utils_Ex", "printXMLDeclaration"));
+        $this->_smarty->default_modifiers = array('script_escape', "escape");
 
         if(ADMIN_MODE == '1') {
@@ -142,4 +143,5 @@
         $this->_smarty->template_dir = TEMPLATE_ADMIN_DIR;
         $this->_smarty->compile_dir = COMPILE_ADMIN_DIR;
+        $this->_smarty->default_modifiers = array('script_escape');
         $this->initpath();
     }
