summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-05-25 04:18:54 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-05-25 04:18:54 +0000
commit7ecb1b7c9ce72480baefda4c2ad7527ad2dd0dcd (patch)
treee947f94c8d1c75b19ed1421586a1bc35ee04ef96 /includes
parent34421b5d39f7b645833542643b2cde8b1459f533 (diff)
downloadbrdo-7ecb1b7c9ce72480baefda4c2ad7527ad2dd0dcd.tar.gz
brdo-7ecb1b7c9ce72480baefda4c2ad7527ad2dd0dcd.tar.bz2
- #23387: form() should respect block-level elements
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index e21b3fbae..12a0a5e82 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1035,6 +1035,7 @@ function form($form, $method = 'post', $action = NULL, $attributes = NULL) {
if (!$action) {
$action = request_uri();
}
+ // Anonymous div to satisfy XHTML compliancy.
return '<form action="'. check_url($action) .'" method="'. $method .'"'. drupal_attributes($attributes) .">\n<div>". $form ."\n</div></form>\n";
}