From e0ffbf2d8da6dc60f745b0a09959163204b744ed Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 2 Mar 2023 20:13:30 -0800 Subject: [PATCH] Update markupsafe==2.1.2 --- lib/markupsafe/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/markupsafe/__init__.py b/lib/markupsafe/__init__.py index 0f1c4f46..7166b192 100644 --- a/lib/markupsafe/__init__.py +++ b/lib/markupsafe/__init__.py @@ -11,10 +11,10 @@ if t.TYPE_CHECKING: pass -__version__ = "2.1.1" +__version__ = "2.1.2" -_strip_comments_re = re.compile(r"") -_strip_tags_re = re.compile(r"<.*?>") +_strip_comments_re = re.compile(r"", re.DOTALL) +_strip_tags_re = re.compile(r"<.*?>", re.DOTALL) def _simple_escaping_wrapper(name: str) -> t.Callable[..., "Markup"]: