@@ -11,7 +11,7 @@ __author__ = "Davide Testa"
__email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0"
-__version__ = "2.8.10"
+__version__ = "2.8.11"
__maintainer__ = "Davide Testa"
__contact__ = "t.me/davte"
@@ -1450,7 +1450,8 @@ def clean_html_string(text: str) -> str:
rf'(?P<opening><{tag}{attribute}>)'
rf'(?P<body>.*?)'
rf'(?P<close></{tag}>)',
- text
+ text,
+ flags=re.DOTALL
)
if match and (first_match is None or match.start() < first_match.start()):
first_match = match