diff --git a/src/OutputPageHtmlTagsInserter.php b/src/OutputPageHtmlTagsInserter.php
index f8cd5cc..1b057f9 100644
--- a/src/OutputPageHtmlTagsInserter.php
+++ b/src/OutputPageHtmlTagsInserter.php
@@ -106,6 +106,10 @@ public function addTagContentToOutputPage( $tag, $content ) {
return $this->addMetaPropertyMarkup( $tag, $content );
}
+ if ( $this->reqMetaHttpEquivs( $tag ) ) {
+ return $this->addMetaHttpEquivMarkup( $tag, $content );
+ }
+
$this->outputPage->addMeta( $tag, $content );
}
@@ -140,4 +144,30 @@ private function reqMetaPropertyMarkup( $tag ) {
return false;
}
+ private function reqMetaHttpEquivs( $tag ) {
+
+ // If a tag contains a `og:` such as `og:title` it is expected to be a
+ // OpenGraph protocol tag along with other prefixes maintained in
+ // $GLOBALS['smtgMetaPropertyPrefixes']
+ return in_array( $tag, $GLOBALS['smtgMetaHttpEquivs'] );
+ }
+
+ private function addMetaHttpEquivMarkup( $tag, $content ) {
+
+ $comment = '';
+
+ if ( !$this->metaPropertyMarkup ) {
+ $comment .= '' . "\n";
+ $this->metaPropertyMarkup = true;
+ }
+
+ $content = $comment . \Html::element( 'meta', [
+ 'http-equiv' => $tag,
+ 'content' => $content
+ ] );
+
+ $this->outputPage->addHeadItem( "meta:property:$tag", $content );
+ }
+
+
}