summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/filter.module2
-rw-r--r--modules/filter/filter.module2
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);
}
}