metric-cooking
metric-cooking copied to clipboard
Inconsistent ounce/pound conversion
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
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
.