I noticed in common.inc in the function drupal_get_html_head() it adds this line to the html head section:

$output = "\n";

However in the function drupal_final_markup it adds the line again:

return preg_replace('/]*>/i', "\$0\n", $content, 1);

In my code to prevent this I just commented out the line in drupal_get_html_head

Comments

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.