Skip to content

Commit b7527b4

Browse files
committed
MAGETWO-83024: Fix #10682: Meta description and keywords transform to html entities #11829
- Merge Pull Request #11829 from dverkade/magento2:patch-20 - Merged commits: 1. 6311331
2 parents 373bd01 + 6311331 commit b7527b4

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/View/Page

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Page/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function getTitle()
226226
public function setMetadata($name, $content)
227227
{
228228
$this->build();
229-
$this->metadata[$name] = htmlentities($content);
229+
$this->metadata[$name] = htmlspecialchars($content);
230230
}
231231

232232
/**

0 commit comments

Comments
 (0)