Skip to content

core, remove soft hyphens when matching search text

Karl Ove Hufthammer requested to merge work/remove-soft-hyphens-in-search into master

Languages with long compound words sometimes use soft hyphens (U+00AD) in the translations to improve word/line breaks. But searching for such a word then no longer returns a match, since the search string doesn’t contain any soft hyphens. To fix this, we now strip all soft hyphens from the activity title/name/description before comparing it with the search string.

Merge request reports