mealie icon indicating copy to clipboard operation
mealie copied to clipboard

[BUG] - 1/3rd not recognized as quantity by parser

Open JvdMaat opened this issue 3 months ago • 6 comments

First Check

  • [X] This is not a feature request.
  • [X] I added a very descriptive title to this issue (title field is above this).
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I searched the Mealie documentation, with the integrated search.
  • [X] I already read the docs and didn't find an answer.
  • [X] This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

Then trying to parse ingredients that contain 1/3rd of something (eg 1/3 cup), the parser lists 0 as quantity

Steps to Reproduce

From demo site, import recipe from URL: https://www.wellplated.com/slow-cooker-honey-garlic-chicken/#wprm-recipe-container-37253 Save, disable the Disable ingredient amounts, and then parse it. Both 2nd and 3rd (soy sauce and honey) fail to get a proper quantity I left https://demo.mealie.io/g/home/r/slow-cooker-honey-garlic-chicken unparsed for ease of reference. (just don't save and can be re-used)

Please provide relevant logs

image

Mealie Version

1.3.2 & nightly (issue occurs on demo.mealie.io)

Deployment

Docker (Linux)

Additional Deployment Details

No response

JvdMaat avatar Mar 15 '24 13:03 JvdMaat