MicrodataPHP
MicrodataPHP copied to clipboard
Fixed issue where itemprop content is ignored
When parsing recipes, so authors create the prepTime/cookTime in different ways. I've updated the MicrodataPhpDOMElement->itemValue to grab the content attribute if it is present, instead of sending the incorrect element value.
eg. 1 hour, 10 minutes should return PT1H10M and not "1 hour, 10 minutes"