The problem is in metatag.theme.inc and metatag_opengraph.module where you are calling theme_html_tag directly. By calling this function directly you disable the ability for themers to alter the output of the metatags with YOUR_THEME_NAME_html_tag.

I attached two patches but these were created with UNIX diff and not that Git system (which I don't know yet how to use). I hope they are still from any use.

Comments

Status: Needs review » Needs work

The last submitted patch, metatag_opengraph.module.patch, failed testing.

dave reid’s picture

Version: 7.x-1.0-alpha3 »
Priority: Major » Normal
Status: Needs work » Fixed

Not sure why people would want to customize the way meta tags are displayed but this is a good change. Committed with http://drupalcode.org/project/metatag.git/commit/fdace92. Thanks Richard!

fleshgrinder’s picture

There is a special use case for me. I want to overwrite nearly every theme function within Drupal. I want perfect HTML5 output and I want to reduce the payload size to its minimum (for more info read the short paragraph over at the Google PageSpeed Wiki http://code.google.com/speed/page-speed/docs/payload.html#MinifyHTML).

Glad I was of any help!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.