summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-21 15:08:24 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-21 15:08:24 +0000
commitc3dccba229db17b14620e26856419068d40b153b (patch)
tree444629fc5865763d5bbb488eeba8467a1b614198
parent354b62a0fac4e9a73d02e93695b0d73847a1a04b (diff)
downloadbrdo-c3dccba229db17b14620e26856419068d40b153b.tar.gz
brdo-c3dccba229db17b14620e26856419068d40b153b.tar.bz2
#212285 by wrwrwr: hr should be treated as a block level tag
-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 0d3cf62c5..18f3e39dc 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -865,7 +865,7 @@ function _filter_url_trim($text, $length = NULL) {
*/
function _filter_autop($text) {
// All block level tags
- $block = '(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|blockquote|address|p|h[1-6])';
+ $block = '(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|blockquote|address|p|h[1-6]|hr)';
// Split at <pre>, <script>, <style> and </pre>, </script>, </style> tags.
// We don't apply any processing to the contents of these tags to avoid messing