Skosmos
Skosmos copied to clipboard
Autocomplete component does not highlight the search term as a matching part when using decomposed unicode characters
At which URL did you encounter the problem?
- Create a decomposed search term version of some search term that contains precomposed special characters, for example:
This could be reproduced by creating a decomposed unicode search string, for example in linux terminal:
uconv -x any-nfd <<<'Etholén, Hans' - Precomposed
Etholén, Hansthat escapes as Ethol**%C3%A9**n%2C+Hans - And decomposed 'Etholén, Hans' that escapes as Ethole%CC%81n%2C+Hans
What steps will reproduce the problem?
- Navigate to a vocabulary containing a concept matching your search term
- Search with the decomposed version in the upper-right reach field
- Compare it to searching with the precomposed version in the upper-right reach field
What is the expected output? What do you see instead?

It seems that the highlighting of a matching term does not work in typeahead.js for decomposed unicode characters. Also discussed in #1184 and #1239 .