Index: trunk/extensions/OpenGraphMeta/OpenGraphMeta.php |
— | — | @@ -84,9 +84,9 @@ |
85 | 85 | $meta["fb:admins"] = $egFacebookAdmins; |
86 | 86 | |
87 | 87 | foreach( $meta as $property => $value ) { |
88 | | - if ( $value ) |
89 | | - //$out->addMeta($property, $value ); // FB wants property= instead of name= blech, is that even valid html? |
90 | | - $out->addHeadItem("meta:property:$property", " ".Html::element( 'meta', array( 'property' => $property, 'content' => $value ) )."\n"); |
| 88 | + if ( $value ){ |
| 89 | + $out->addMeta("property:$property", $value ); |
| 90 | + } |
91 | 91 | } |
92 | 92 | |
93 | 93 | return true; |