Browse Source

fix for recipe parsing

pull/60/head
Aaron Parecki 3 years ago
parent
commit
c376833f4c
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/XRay/Formats/Mf2.php

+ 1
- 1
lib/XRay/Formats/Mf2.php View File

@ -155,7 +155,7 @@ class Mf2 extends Format {
return self::parseAsHReview($mf2, $item, $http, $url);
} elseif(in_array('h-recipe', $item['type'])) {
#Parse::debug("mf2:6: $url is falling back to the first h-recipe on the page");
return self::parseAsHReview($mf2, $item, $http, $url);
return self::parseAsHRecipe($mf2, $item, $http, $url);
} elseif(in_array('h-product', $item['type'])) {
#Parse::debug("mf2:6: $url is falling back to the first h-product on the page");
return self::parseAsHProduct($mf2, $item, $http, $url);

Loading…
Cancel
Save