metric-cooking icon indicating copy to clipboard operation
metric-cooking copied to clipboard

Inconsistent ounce/pound conversion

Open hersh-nv opened this issue 6 years ago • 1 comments

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

hersh-nv avatar Sep 26 '18 04:09 hersh-nv

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.

falk-hueffner avatar Jul 14 '19 19:07 falk-hueffner