diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-09-28 08:09:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-09-28 08:09:25 +0000 |
commit | 3b5f2d8ebe7671f7bd954aab0af33b7ae933775f (patch) | |
tree | f5c61a372885efbb13f51604f99af88745f086bc | |
parent | 4b6cd91aa824c77a34f65fb20e6a32ae268fa9bc (diff) | |
download | brdo-3b5f2d8ebe7671f7bd954aab0af33b7ae933775f.tar.gz brdo-3b5f2d8ebe7671f7bd954aab0af33b7ae933775f.tar.bz2 |
- Patch #179244 by tangent: line break filter operates on object element.
-rw-r--r-- | modules/filter/filter.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module index d392831e4..4da0c12d9 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -869,7 +869,7 @@ function _filter_autop($text) { // We don't apply any processing to the contents of these tags to avoid messing // up code. We look for matched pairs and allow basic nesting. For example: // "processed <pre> ignored <script> ignored </script> ignored </pre> processed" - $chunks = preg_split('@(</?(?:pre|script|style)[^>]*>)@i', $text, -1, PREG_SPLIT_DELIM_CAPTURE); + $chunks = preg_split('@(</?(?:pre|script|style|object)[^>]*>)@i', $text, -1, PREG_SPLIT_DELIM_CAPTURE); // Note: PHP ensures the array consists of alternating delimiters and literals // and begins and ends with a literal (inserting NULL as required). $ignore = FALSE; |