Open stephanegigandet opened 6 months ago
@stephanegigandet, is this a good first issue?
@anaritadauane That one is quite complex, the ingredient parsing code is very ugly, it may take quite some time to understand the code and the bug.
@anaritadauane That one is quite complex, the ingredient parsing code is very ugly, it may take quite some time to understand the code and the bug.
I understand
Reported on Slack by @FemmeNoire : https://openfoodfacts.slack.com/archives/C03H290LF/p1707586457600959
microbial enzymes (non-animal, rennetless)
The "non-animal" label is applied to the whole product, instead of just the ingredient.
Labels in parenthesis should only applied on the ingredient. It seems the parsing doesn't work that way when there are several labels for one ingredient.