Merge pull request #1242 from benmuth/fix-titles-with-empty-tag

This commit is contained in:
Nick Sweeting 2023-10-09 21:39:26 -07:00 committed by GitHub
commit dcef217e5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ from ..logging_util import TimedProgress
HTML_TITLE_REGEX = re.compile(
r'<title.*?>' # start matching text after <title> tag
r'(.[^<>]+)', # get everything up to these symbols
r'([^<>]+)', # get everything up to these symbols
re.IGNORECASE | re.MULTILINE | re.DOTALL | re.UNICODE,
)