From 92d9f727fd548b905fbb5db29d2d0c563cd4581b Mon Sep 17 00:00:00 2001 From: niekt0 Date: Fri, 17 Dec 2010 02:35:10 +0100 Subject: [PATCH] fixed removing end of lines --- wwwroot/inc/nodes.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/inc/nodes.inc b/wwwroot/inc/nodes.inc index 46cbeaa..e328250 100644 --- a/wwwroot/inc/nodes.inc +++ b/wwwroot/inc/nodes.inc @@ -148,7 +148,7 @@ function processContent($node_content) { } $node_content = eregi_Replace("((( )|(\n)|(^))+)(http://|ftp://|https://)([[:alnum:]][^,[:space:]]*)","\\2\\6\\7",$node_content); - $node_content = mysql_real_escape_string($node_content); + //$node_content = mysql_real_escape_string($node_content); once is enough } return $node_content; -- 2.30.2