Skip to content

Commit

Permalink
fix: Removed <p> HTML tags
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBayfield committed Dec 30, 2024
1 parent d90a078 commit d183109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CrousPy/entity/infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, data: InfosData) -> None:
self.__horaires = self.__horaires.replace("<br/><br/>", "<br/>")

if "<br/>" in self.__horaires:
self.__horaires = self.__horaires.strip().split("<br/>")
self.__horaires = self.__horaires.replace("<p>", "").replace("</p>", "").strip().split("<br/>")
else:
self.__horaires = [self.__horaires.replace("<p>", "").replace("</p>", "").strip()]

Expand Down

0 comments on commit d183109

Please sign in to comment.