falk-hueffner / metric-cooking

Browser script that annotates US cooking units with their metric equivalent (e.g. 1 3/4 cups sugar [350 g])
GNU General Public License v2.0
29 stars 4 forks source link

Not Working with https://www.bakedbyanintrovert.com/ #8

Open Karesto opened 5 years ago

Karesto commented 5 years ago

Hi ,

There is an issue with the add-on (that is great! Thank you) in that page, it works on paragraphs but not on the ingredient list. Here is an example : https://www.bakedbyanintrovert.com/basic-vanilla-buttercream-frosting/ Good Luck !

falk-hueffner commented 5 years ago

Here the HTML is <span class="wprm-recipe-ingredient-amount">6</span> <span class="wprm-recipe-ingredient-unit">tablespoons</span></span> <span class="wprm-recipe-ingredient-unit-system wprm-recipe-ingredient-unit-system-2"></span> <span class="wprm-recipe-ingredient-name">heavy cream</span>, <span class="wprm-recipe-ingredient-notes wprm-recipe-ingredient-notes-faded">room temperature</span> so it's the same issue as #6 and might be fixed the same way.