linkify - need at least one character after ://
This commit is contained in:
		| @@ -22,7 +22,7 @@ function bbcode($Text) { | ||||
| 	// Perform URL Search | ||||
|  | ||||
|  | ||||
| 	$Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%]*)/", ' <a href="$2" >$2</a>', $Text); | ||||
| 	$Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%]+)/", ' <a href="$2" >$2</a>', $Text); | ||||
|  | ||||
| 	$Text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '<a href="$1" >$1</a>', $Text); | ||||
| 	$Text = preg_replace("(\[url\=([$URLSearchString]*)\](.+?)\[/url\])", '<a href="$1" >$2</a>', $Text); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user