Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See http://api.drupal.org/api/drupal/developer--topics--forms_api_reference....
There is a spare line between every line of code.
Comments
Comment #1
joachim CreditAttribution: joachim commentedLooks like this is actually the fault of this CSS rule on CODE elements:
white-space: pre-wrap;
Moving to the api site issue queue.
Comment #2
jhodgdonActually, currently not all the code samples have that problem, just some of them, and it appears to be because some of the code samples have < br > tags embedded in them. So I think this needs to be fixed in the HTML markup for the page itself.