Browse Source

fix wiki links with blank spaces

Juan Carlos Raña 14 years ago
parent
commit
513d4cf861
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/wiki/wiki.inc.php

+ 2 - 2
main/wiki/wiki.inc.php

@@ -225,8 +225,8 @@ function make_wiki_link_clickable($input)
 		      }
 		      else
 			  {
-				$link=$value;
-				$title=$value;
+				$link=trim($value);
+				$title=trim($value);
 	          }
 
 			//if wikilink is homepage