diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-02-17 05:57:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-02-17 05:57:13 +0000 |
commit | 7abb76e1d1d975102ed994c5404de44ea8811ab5 (patch) | |
tree | aeaa4d8d1906568c875fe50bdf0e661748e5c5a6 /modules | |
parent | fa447981d6a23279c74384f5e86cf4a18c39f132 (diff) | |
download | brdo-7abb76e1d1d975102ed994c5404de44ea8811ab5.tar.gz brdo-7abb76e1d1d975102ed994c5404de44ea8811ab5.tar.bz2 |
- Patch 5897 by Moshe: don't consider the 'U' tag to be a block level tag.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter.module | 2 | ||||
-rw-r--r-- | modules/filter/filter.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/filter.module b/modules/filter.module index dc81cdaf3..043591a83 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -165,7 +165,7 @@ function check_output($text) { ** If only inline elements are used and no block level elements, we ** replace all newlines with HTML line breaks. */ - if (strip_tags($text, '<a><br><span><bdo><map><object><img><tt><i><b><big><small><em><strong><dfn><code><q><samp><kbd><var><cite><abbr><acronym><sub><sup><input><select><textarea><label><button><ins><del><script>') == $text) { + if (strip_tags($text, '<a><br><span><bdo><map><object><img><tt><i><b><u><big><small><em><strong><dfn><code><q><samp><kbd><var><cite><abbr><acronym><sub><sup><input><select><textarea><label><button><ins><del><script>') == $text) { $text = nl2br($text); } } diff --git a/modules/filter/filter.module b/modules/filter/filter.module index dc81cdaf3..043591a83 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -165,7 +165,7 @@ function check_output($text) { ** If only inline elements are used and no block level elements, we ** replace all newlines with HTML line breaks. */ - if (strip_tags($text, '<a><br><span><bdo><map><object><img><tt><i><b><big><small><em><strong><dfn><code><q><samp><kbd><var><cite><abbr><acronym><sub><sup><input><select><textarea><label><button><ins><del><script>') == $text) { + if (strip_tags($text, '<a><br><span><bdo><map><object><img><tt><i><b><u><big><small><em><strong><dfn><code><q><samp><kbd><var><cite><abbr><acronym><sub><sup><input><select><textarea><label><button><ins><del><script>') == $text) { $text = nl2br($text); } } |