Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

fix(React InstantSearch): placeholder template #361

Merged
merged 3 commits into from
Feb 12, 2019
Merged

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Feb 12, 2019

cc @biletron

@francoischalifour, do you think the double brace could confuse handlebars?

cc @biletron

@francoischalifour, do you think the double brace could confuse handlebars?
@Haroenv Haroenv requested a review from a team February 12, 2019 12:14
@samouss
Copy link
Contributor

samouss commented Feb 12, 2019

You have to update the E2E snapshots.

@francoischalifour
Copy link
Member

Thanks for fixing this!

You'll need to escape the curly brackets:

<h1>\{{#helpers.highlight}}{ "attribute": "{{attributesToDisplay.[0]}}" }\{{/helpers.highlight}}</h1>

Also, don't forget to update the snapshots.

@Haroenv Haroenv merged commit caf15a0 into master Feb 12, 2019
@Haroenv Haroenv deleted the Haroenv-patch-1 branch February 12, 2019 17:28
aymeric-giraudet pushed a commit to algolia/instantsearch that referenced this pull request Dec 14, 2022
…tsearch-app#361)

* fix(React InstantSearch): placeholder template

cc @biletron

@francoischalifour, do you think the double brace could confuse handlebars?

* Update App.js.hbs

* fix: escape the handlebars-like format
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants