diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b728bed724..57cda84a0f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -49,6 +49,7 @@ v33.0.0 (next next, roadmap) - New and improved copyright detection with many false positive removed and refined detection added. +- Fix Python ``SyntaxWarning`` in textcode module. v32.2.1 - 2024-07-02 --------------------- diff --git a/src/textcode/markup.py b/src/textcode/markup.py index aba55ccd8c..6d28ccb3c9 100644 --- a/src/textcode/markup.py +++ b/src/textcode/markup.py @@ -201,7 +201,7 @@ def is_debian_tag(t): r"|" r"href" r"|" - "['\"]?/>" + r"['\"]?/>" r"|" r"/>" r")",