diff options
author | friendica <info@friendica.com> | 2014-02-05 15:03:46 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-05 15:03:46 -0800 |
commit | 859531808918048d61ef9bf0c17a288fc4b96524 (patch) | |
tree | 392cfcdaeae53b4ff8b222bc8117d26779000275 /include/text.php | |
parent | efa30f1b03540981a7718daa7c598157a727f30d (diff) | |
parent | e525f045c1300f0eeb2ad2612ad20c61cc251d48 (diff) | |
download | volse-hubzilla-859531808918048d61ef9bf0c17a288fc4b96524.tar.gz volse-hubzilla-859531808918048d61ef9bf0c17a288fc4b96524.tar.bz2 volse-hubzilla-859531808918048d61ef9bf0c17a288fc4b96524.zip |
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'include/text.php')
-rwxr-xr-x | include/text.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index 266d8952b..2b334068f 100755 --- a/include/text.php +++ b/include/text.php @@ -565,6 +565,10 @@ function get_tags($s) { $s = preg_replace('/\[code\](.*?)\[\/code\]/sm','',$s); + // ignore anything in [style= ] + + $s = preg_replace('/\[style=(.*?)\]/sm','',$s); + // Match full names against @tags including the space between first and last // We will look these up afterward to see if they are full names or not recognisable. |