Skip to content

Commit 1d44256

Browse files
committed
MAGETWO-86283: [Backport to 2.3-develop] Fix #10682: Meta description and keywords transform to html entities #12955
- Merge Pull Request #12955 from dverkade/magento2:2.3-Meta-description-and-keywords-transform-to-html-entities - Merged commits: 1. c49c52a
2 parents ccf68bb + c49c52a commit 1d44256

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)