fixed removing end of lines
authorniekt0 <niekt0@kyberia.cz>
Fri, 17 Dec 2010 01:35:10 +0000 (02:35 +0100)
committerniekt0 <niekt0@kyberia.cz>
Fri, 17 Dec 2010 01:35:10 +0000 (02:35 +0100)
wwwroot/inc/nodes.inc

index 46cbeaa2683f09d79fd272373e92506dd58929ad..e32825070db61645443062bb4916ab627d71961b 100644 (file)
@@ -148,7 +148,7 @@ function processContent($node_content) {
                 }
 
                 $node_content = eregi_Replace("((( )|(\n)|(^))+)(http://|ftp://|https://)([[:alnum:]][^,[:space:]]*)","\\2<a target='_blank' href=\"\\6\\7\">\\6\\7</a>",$node_content);
-               $node_content = mysql_real_escape_string($node_content);
+               //$node_content = mysql_real_escape_string($node_content); once is enough
         }
 
         return $node_content;
This page took 0.16024 seconds and 4 git commands to generate.