]> git.phdru.name Git - bookmarks_db.git/commitdiff
Style: Fix flake8 W605 invalid escape sequence
authorOleg Broytman <phd@phdru.name>
Thu, 28 Sep 2023 12:34:40 +0000 (15:34 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 19:21:09 +0000 (22:21 +0300)
parse_html/bkmk_parse_html.py

index 0043aa0c2438a9b20b81ff717acbd79ac2717528..d885d52fbb3b471b8fb33de93b9e6e9a9dac39e1 100644 (file)
@@ -67,7 +67,7 @@ else:
 #     parsers.append(bkmk_ph_etreetidy.parse_html)
 
 universal_charset = "utf-8"
-entity_re = re.compile("(&\w+;)")
+entity_re = re.compile("(&\\w+;)")
 num_entity_re = re.compile("(&#[0-9]+;)")