Skip tags detection in URL
This commit is contained in:
parent
60f890ce0d
commit
66f443fd00
@ -825,6 +825,9 @@ function get_tags($s) {
|
||||
|
||||
// ignore anything in [color= ], because it may contain color codes which are mistaken for tags
|
||||
$s = preg_replace('/\[color=(.*?)\]/sm','',$s);
|
||||
|
||||
// skip anchors in URL
|
||||
$s = preg_replace('/\[url=(.*?)\]/sm','',$s);
|
||||
|
||||
// match any double quoted tags
|
||||
|
||||
|
Reference in New Issue
Block a user