MyRecipes is not properly marking up their titles. The existing parser just uses the content of the first item tagged as a "name", leading it to save the first ingredient as the title.
Now, we do a test to see whether the first ingredient is the same as the title and if so, fall back to scraping the meta title.
Release Notes
None.
Testing
Tested by switching one of the MyRecipes unit tests to the mobile version. Parsed correctly.
Change Summary
MyRecipes is not properly marking up their titles. The existing parser just uses the content of the first item tagged as a "name", leading it to save the first ingredient as the title.
Now, we do a test to see whether the first ingredient is the same as the title and if so, fall back to scraping the meta title.
Release Notes
None.
Testing
Tested by switching one of the MyRecipes unit tests to the mobile version. Parsed correctly.