diff options
Diffstat (limited to 'plugins/markdown/markdown.php')
-rw-r--r-- | plugins/markdown/markdown.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/markdown/markdown.php b/plugins/markdown/markdown.php index 6b4aabf3..2f24e417 100644 --- a/plugins/markdown/markdown.php +++ b/plugins/markdown/markdown.php | |||
@@ -288,7 +288,7 @@ function sanitize_html($description) | |||
288 | $description); | 288 | $description); |
289 | } | 289 | } |
290 | $description = preg_replace( | 290 | $description = preg_replace( |
291 | '#(<[^>]+)on[a-z]*="?[^ "]*"?#is', | 291 | '#(<[^>]+\s)on[a-z]*="?[^ "]*"?#is', |
292 | '$1', | 292 | '$1', |
293 | $description); | 293 | $description); |
294 | return $description; | 294 | return $description; |