Skip to content

Commit 779b4bd

Browse files
MAGETWO-86283: [Backport to 2.3-develop] Fix #10682: Meta description and keywords transform to html entities #12955
2 parents 5dc38df + 1d44256 commit 779b4bd

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)