Index: branches/rel/data/class/SC_View.php
===================================================================
--- branches/rel/data/class/SC_View.php	(revision 12157)
+++ branches/rel/data/class/SC_View.php	(revision 14393)
@@ -44,5 +44,6 @@
 		$this->_smarty->register_function("sfPrintEbisTag","sfPrintEbisTag");
 		$this->_smarty->register_function("sfPrintAffTag","sfPrintAffTag");
-		
+        $this->_smarty->default_modifiers = array('script_escape');
+        
 		if(ADMIN_MODE == '1') {		
 			$this->time_start = time();
Index: branches/rel/data/smarty_extends/modifier.script_escape.php
===================================================================
--- branches/rel/data/smarty_extends/modifier.script_escape.php	(revision 14393)
+++ branches/rel/data/smarty_extends/modifier.script_escape.php	(revision 14393)
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Script¥¿¥°¤ò¥¨¥¹¥±¡¼¥×
+ * Á´¤Æ¤Î¥Ú¡¼¥¸¤ËÅ¬ÍÑ¤µ¤ì¤ë
+ *
+ * @param string $value ÆþÎÏ
+ * @return string ½ÐÎÏ
+ */
+function smarty_modifier_script_escape($value) {
+    
+    return preg_replace("/<script.*?>|<\/script>/", '&lt;script&gt;', $value);
+    
+}
+?>
