Skip to content

Fixed issue where itemprop content is ignored#19

Open
toneplex wants to merge 1 commit intolinclark:2.0.xfrom
toneplex:2.0.x
Open

Fixed issue where itemprop content is ignored#19
toneplex wants to merge 1 commit intolinclark:2.0.xfrom
toneplex:2.0.x

Conversation

@toneplex
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant