-
Notifications
You must be signed in to change notification settings - Fork 557
feat(autocomplete): default escapeHTML to true #3335
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
Conversation
- Rename `escapeHits` to `escapeHTML` - Default `escapeHTML` to true
|
Deploy preview for instantsearchjs ready! Built with commit 7014d3c |
|
is this also requiring the helper's usage, like in hits now? cc @samouss |
|
What do you mean? |
|
Nope we did not enforce the helper usage yet (even inside |
|
Right, I thought you were talking about the JavaScript Helper, @Haroenv. We may want to call them "formatting helpers" to avoid confusion. |
src/connectors/autocomplete/__tests__/connectAutocomplete-test.js
Outdated
Show resolved
Hide resolved
src/connectors/autocomplete/__tests__/connectAutocomplete-test.js
Outdated
Show resolved
Hide resolved
samouss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value is not true by default.
escapeHitstoescapeHTMLescapeHTMLto true