Skip to content

Commit

Permalink
updated parser
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-genson committed Apr 10, 2024
1 parent de53e9d commit ed8d642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mealie/routes/spa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def inject_meta(contents: str, tags: list[MetaTag]) -> str:


def inject_recipe_json(contents: str, schema: dict) -> str:
soup = BeautifulSoup(contents, "html.parser")
soup = BeautifulSoup(contents, "lxml")
schema_as_json = json.dumps(jsonable_encoder(schema))

script_tags = soup.find_all("script", {"type": "application/ld+json"})
Expand Down

0 comments on commit ed8d642

Please sign in to comment.