Skip to content

Commit

Permalink
Merge pull request #3054 from renyuneyun/refactor/python-regex
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer committed Oct 25, 2022
2 parents 66408d6 + cbddac4 commit 1f6f4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelican/contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def _get_intrasite_link_regex(self):
(?P<quote>["\']) # require value to be quoted
(?P<path>{}(?P<value>.*?)) # the url value
\2""".format(intrasite_link_regex)
(?P=quote)""".format(intrasite_link_regex)
return re.compile(regex, re.X)

def _update_content(self, content, siteurl):
Expand Down

0 comments on commit 1f6f4a3

Please sign in to comment.