add a sanitized style tag to bbcode
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user