Currently e.g.:
Gemüsesuppe ( So) mit Brötchen (Wz) turns into Gemüsesuppe ) mit Brötchen and the So allergene is even dropped / not included in our app
Expected behavior
Only known allergenes should be parsed, none should be dropped. Non-known (which probably never occurs, except in false positives) can remain in the name
Describe the bug Currently some allergene descriptions are parsed incorrectly and/or non-allergene declarations are parsed as allergenes.
To Reproduce Compare https://www.max-manager.de/daten-extern/sw-erlangen-nuernberg/xml/mensa-ingolstadt.xml to https://dev.neuland.app/de/food/
Currently e.g.:
Gemüsesuppe ( So) mit Brötchen (Wz)
turns intoGemüsesuppe ) mit Brötchen
and theSo
allergene is even dropped / not included in our appExpected behavior Only known allergenes should be parsed, none should be dropped. Non-known (which probably never occurs, except in false positives) can remain in the name
Screenshots
Additional context