diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-17 17:41:22 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-17 17:41:22 +1000 |
| commit | b2d5ec253b53345f46f6e1a246a725167d4ab814 (patch) | |
| tree | 0b03e70ff66b293f74e282c0cf1c1751cc127aac /inc | |
| parent | e7f25aa480cf30ed901ce72d230cc5e08269179e (diff) | |
escape_markup_modifiers: make it case insensitive
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 09933ade..50937a29 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1631,7 +1631,7 @@ function markup(&$body, $track_cites = false) { } function escape_markup_modifiers($string) { - return preg_replace('@<tinyboard ([\w\s]+)>@m', '<tinyboard escape $1>', $string); + return preg_replace('@<tinyboard ([\w\s]+)>@mi', '<tinyboard escape $1>', $string); } function utf8tohtml($utf8) { |
