haukex / de-en-dict

German-English Dictionary
https://dict.zero-g.net/
GNU General Public License v2.0
12 stars 2 forks source link

Angle brackets should be removed from display #3

Closed haukex closed 3 months ago

haukex commented 4 months ago

The word list includes entries like referrer <referer>, where the part in angle brackets is a common misspelling, so that it can still be found via full-text search. But the parts in angle brackets should be hidden from the search results.

haukex commented 4 months ago

Reopening because the current code doesn't correctly handle the case of <name--dropping <name drop>>.

Edit: This is the only case of nested angle brackets in the dictionary, so it could instead be fixed in the dictionary instead of the app.

haukex commented 3 months ago

Fixed in dictionary, thanks @frituc !