Skip to content

Commit

Permalink
fixes pagekit#839
Browse files Browse the repository at this point in the history
  • Loading branch information
malte-christian committed Jun 29, 2017
1 parent b5913d4 commit 8f16c4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## WIP

### Fixed
- Fixed Facebook App ID meta tag

## 1.0.12 (June 29, 2017)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion app/modules/view/src/Helper/MetaHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function render()
$output .= sprintf(" <base href=\"%s\">\n", $value);
} else if ($name == 'canonical') {
$output .= sprintf(" <link rel=\"%s\" href=\"%s\">\n", $name, $value);
} elseif (preg_match('/^(og|twitter|article):/i', $name)) {
} elseif (preg_match('/^(og|fb|twitter|article):/i', $name)) {
$output .= sprintf(" <meta property=\"%s\" content=\"%s\">\n", $name, $value);
} else {
$output .= sprintf(" <meta name=\"%s\" content=\"%s\">\n", $name, $value);
Expand Down

0 comments on commit 8f16c4a

Please sign in to comment.