`<em>` tags present inside arrays
See original GitHub issueWhat’s wrong ?
Highlight doesn’t seem to work inside arrays.
Output on the dashboard:
Output from MeiliSearch:
{
"Title": "Brazilian Musicians",
"Artist": "Tomas Santa Rosa Junior",
"Nationality": [
"Brazilian"
],
"Gender": [
"Male"
],
"Date": "1941"
}
What’s the expected behaviour ?
The element inside the array should either be highlighted, or not have the <em>
tag
How to test
Use the Moma database:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How do I insert HTML tags inside a Javascript array that ...
If you use an object you can get both the image name and description. You can then set both from that element in...
Read more >Array methods - The Modern JavaScript Tutorial
Arrays provide a lot of methods. To make things easier, in this chapter they are split into groups. Add/remove items.
Read more >Arrays in JavaScript - GeeksforGeeks
JavaScript array is a single variable that is used to store different elements. It is often used when we want to store a...
Read more >Query an Array — MongoDB Manual
The following example queries for all documents where the field tags value is an array with exactly two elements, "red" and "blank" ,...
Read more >What Is an Array Tag? - General Electric
You can query both an array tag and an element of the tag. Each element of the array tag will be displayed in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed with https://github.com/meilisearch/instant-meilisearch/pull/531 and the upgrade of
instant-meilisearch
Sorry I heard that the highlight had a few problems with the v0.21, so I assumed that the problem came from there. After investigating further more, it seems to be caused by Instant MeiliSearch and not MeiliSearch itself.
I’ll have to wait for Instant MeiliSerch to be up-to-date with the v0.21 to see if it fixes the problem