forked from github/pelican
Use (?P=) to replace \2 for intrasite link
This commit is contained in:
parent
66408d611f
commit
cbddac44e4
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ class Content:
|
|||
|
||||
(?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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue