diff options
author | Mario <mario@mariovavti.com> | 2019-01-23 15:39:13 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-01-23 15:39:13 +0100 |
commit | ef467383842481bf7e912c892e61a948a493c0ef (patch) | |
tree | c8e9025fda9d91b18ff826791fd10022e661f9dc /include/text.php | |
parent | ca9c29e2b6e999608ef178fce89fe31da5c78b30 (diff) | |
parent | 66f443fd00d3da9df0104e9ed2485d902767fe41 (diff) | |
download | volse-hubzilla-ef467383842481bf7e912c892e61a948a493c0ef.tar.gz volse-hubzilla-ef467383842481bf7e912c892e61a948a493c0ef.tar.bz2 volse-hubzilla-ef467383842481bf7e912c892e61a948a493c0ef.zip |
Merge branch 'dev' into 'dev'
Skip tags detection in URL
See merge request hubzilla/core!1482
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index 26cb61977..b50170553 100644 --- a/include/text.php +++ b/include/text.php @@ -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 |