You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the parser currently omits everything from the name after a nesting or mark (if there already is a name). This can be improved by allowing multiple nodes for the name.
Note that Transform::Amount.transform! extracts the amounts from ingredient names in the loose parser. The mark is extracted in the parser itself, so it effectively 'splits' the name, hence this issue.
This allows the loose parser to include parts of the name before and
after other things like mark, amount or children.
In "cheese (MILK) with 2.3% fat" the whole ingredient name is now
included. Also things like "foo* 50%" now recognize the amount.
The text was updated successfully, but these errors were encountered: