[Vtigercrm-commits] [vtiger-commits] r10115 - /vtigercrm/branches/5.0.3/include/utils/utils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Jan 29 07:53:45 EST 2007


Author: richie
Date: Mon Jan 29 05:53:40 2007
New Revision: 10115

Log:
html tags in Quick Edit of Text Area for Notes Modules- fixed. Fixes #1588

Modified:
    vtigercrm/branches/5.0.3/include/utils/utils.php

Modified: vtigercrm/branches/5.0.3/include/utils/utils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/utils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/utils.php Mon Jan 29 05:53:40 2007
@@ -867,7 +867,7 @@
         global $toHtml;
         if($encode && is_string($string)){//$string = htmlentities($string, ENT_QUOTES);
 		if (is_array($toHtml))
-			$string = str_replace(array_keys($toHtml), array_values($toHtml), $string);
+			$string =strip_tags($string, '<span><br /><div><a><br><b><u><i>');
         }
 	$log->debug("Exiting to_html method ...");
         return $string;





More information about the vtigercrm-commits mailing list