Skip to content

Conversation

dverkade
Copy link
Member

Description

Changed the htmlentities function to the htmlspecialchars function. It's not necessary to do HTML encoding on all characters as described in #10682. Since the content is used within HTML tags, we still need to encode special HTML chars in order to make sure that chars like "'& etc, will not break the page.

Fixed Issues

  1. Meta description and keywords transform to html entities for non latin/cyrilic characters in category and product pages #10682

Changed the htmlentities function to the htmlspecialchars function. It's not necessary to do HTML encoding on all characters as described in #10682. Since the content is used within HTML tags, we still need to encode special HTML chars in order to make sure that chars like "'& etc, will not break the page.
@avoelkl avoelkl self-assigned this Oct 29, 2017
@avoelkl avoelkl added this to the October 2017 milestone Oct 30, 2017
@avoelkl avoelkl added Release Line: 2.2 approved bug report Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release and removed bug report hacktoberfest Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release labels Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants