diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-25 04:18:54 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-25 04:18:54 +0000 |
commit | 7ecb1b7c9ce72480baefda4c2ad7527ad2dd0dcd (patch) | |
tree | e947f94c8d1c75b19ed1421586a1bc35ee04ef96 /includes | |
parent | 34421b5d39f7b645833542643b2cde8b1459f533 (diff) | |
download | brdo-7ecb1b7c9ce72480baefda4c2ad7527ad2dd0dcd.tar.gz brdo-7ecb1b7c9ce72480baefda4c2ad7527ad2dd0dcd.tar.bz2 |
- #23387: form() should respect block-level elements
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 1 |
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"; } |