Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent ounce/pound conversion #6

Open
hersh-nv opened this issue Sep 26, 2018 · 1 comment
Open

Inconsistent ounce/pound conversion #6

hersh-nv opened this issue Sep 26, 2018 · 1 comment
Labels

Comments

@hersh-nv
Copy link

Extension does not convert the 'ounce' (mushrooms, tofu) or 'pound' (napa cabbage) measurements on this recipe:

https://www.thekitchn.com/makeahead-amp-freeze-recipe-shiitake-mushroom-amp-tofu-potstickers-recipes-from-the-kitchn-190354

Nor the 'pound' measurements (potatoes, beef) here, although the '10 ounces of vegetables' are correctly converted:

https://www.thekitchn.com/shepherds-pie-261541

@falk-hueffner
Copy link
Owner

The reason is that the original HTML is
<span>4 </span><span>ounces </span><span><p> shiitake mushrooms
while currently I'm only considering continuous text sequences not interrupted by tags. It might be a solution to skip span and p.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants