Merge branch 'dev' into 'dev'

Skip tags detection in URL

See merge request hubzilla/core!1482
This commit is contained in:
Mario 2019-01-23 15:39:13 +01:00
commit ef46738384

View File

@ -826,6 +826,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
if(preg_match_all('/([@#\!]\&quot\;.*?\&quot\;)/',$s,$match)) {