How-to

I am a technology professional committed to the development of sustainable solutions that deliver results.

Jul
23

Format Drupal 7's Head Output

The formatting of the head tags (meta, keywords, author, scripts, icons, etc.) Drupal 7 outputs by default leave lots to be desired vis-a-vis output formatting.

Cleaning it up is actually much simpler thank you think. You simply need to create a formatting function that uses the PHP's preg_replace() function to handle your output.