Fix: textarea tags got stripped naked by the HTML optimizer, now no longer
authorDan
Tue, 18 Sep 2007 17:27:55 -0400
changeset 137 3bce0c320e80
parent 136 f2ee42f026f7
child 138 13561bde2e2c
Fix: textarea tags got stripped naked by the HTML optimizer, now no longer
includes/functions.php
--- a/includes/functions.php	Tue Sep 18 17:03:03 2007 -0400
+++ b/includes/functions.php	Tue Sep 18 17:27:55 2007 -0400
@@ -2833,7 +2833,7 @@
   }
   
   // Which tags to strip - you can change this if needed
-  $strip_tags = Array('pre', 'script', 'style', 'enano:no-opt');
+  $strip_tags = Array('pre', 'script', 'style', 'enano:no-opt', 'textarea');
   $strip_tags = implode('|', $strip_tags);
   
   // Strip out the tags and replace with placeholders