summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Drumm2009-01-28 22:45:42 (GMT)
committerNeil Drumm2009-01-28 22:45:42 (GMT)
commit64b7e9d86fa35de31ec14bd5936098aa0962018b (patch)
tree8ce9b5d51883fb9fe16e0b0a585fd2a204240cea
parent9f60c14b42c8aff5a821de936e98ff96ebb59824 (diff)
- Patch #179244 by tangent: line break filter operates on object element.
-rw-r--r--modules/filter/filter.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 4f2fd46..df2266c 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -1193,7 +1193,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;