The return value is documented as "HTML for the form element", but it would seem that it returns an array that is an abstract representation of an HTML form element, not the HTML itself
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 606796-D6-fixspace.patch | 1.67 KB | jhodgdon |
| #6 | 606796-D6-movesee.patch | 1.67 KB | jhodgdon |
| #4 | 606796-D6.patch | 1.68 KB | jhodgdon |
| #2 | 606796.patch | 1.31 KB | jhodgdon |
Comments
Comment #1
jhodgdonGood catch! This is wrong in both Drupal 7 http://api.drupal.org/api/function/filter_form/7 and Drupal 6 http://api.drupal.org/api/function/filter_form/6 and should be fixed in Drupal 7 first, then the fix should be backported to Drupal 6.
Comment #2
jhodgdonHere's a patch for Drupal 7. Should be ported to Drupal 6 if accepted.
Comment #3
dries commentedCommitted to CVS HEAD. Moving to D6 so we can reroll for D6.
Comment #4
jhodgdonHere's a doc patch for Drupal 6. Since the original doc for D6 has a see also to a validation function, I decided that validation function needed a doc header as well...
Comment #5
Freso commentedNit-pick: The @see should probably move back down beneath the @ingroup, unless I've missed some code style discussion. :x
Comment #6
jhodgdonFair enough. Here's a redo.
Comment #7
jhodgdonI just noticed an extra space. Try this patch instead.
Comment #8
Freso commentedLooks good to me.
Comment #9
gábor hojtsyThanks, committed.