Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update extruct/rdfa.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Rakhmatullin <wrar@wrar.name>
Gallaecio and wRAR authored Apr 12, 2024
1 parent 22fa788 commit dc8ef20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extruct/rdfa.py
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ def _replaceNS(self, prop, html_element, head_element):

match = None
if head_element.get("prefix"):
match = re.search(prefix + ": [^\\s]+", head_element.get("prefix"))
match = re.search(prefix + r": [^\s]+", head_element.get("prefix"))

# if namespace taken from prefix attribute in head tag
if match:

0 comments on commit dc8ef20

Please sign in to comment.