haukex / de-en-dict

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

Angle brackets should be removed from display #3

Closed haukex closed 1 month ago

haukex commented 1 month 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 1 month 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 1 month ago

Fixed in dictionary, thanks @frituc !