Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete : Special character rendering for Product Attribute #981

Closed
PierreLeMaguer opened this issue Jun 26, 2018 · 2 comments
Closed
Assignees

Comments

@PierreLeMaguer
Copy link
Contributor

Preconditions

Magento Version : 2.1.12

ElasticSuite Version : 2.3.11

Environment : Developer and Production

Steps to reproduce

  1. Create a product attribute and display it on autocomplete search.

Expected result

  1. The value is decoded and we have a correct rendering of special characters like '&'.

Actual result

  1. The value is not decoded and we can't show &. We actually show &

This problem looks like #179 but the merged request does not correct the problem for product attributes. Maybe it is deliberate ?
If not, just add a html_entity_decode on vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Model/Autocomplete/Product/Attribute/ItemFactory.php l51 could be sufficient.

@afoucret
Copy link
Contributor

Actually a templating issue.
Fixed by #982

@afoucret
Copy link
Contributor

@romainruaud can you check the PR and merge it if everything is OK for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants