diff --git a/pelican/contents.py b/pelican/contents.py index e59fa9ae..c979dd0a 100644 --- a/pelican/contents.py +++ b/pelican/contents.py @@ -341,7 +341,7 @@ class Content: (?P["\']) # require value to be quoted (?P{}(?P.*?)) # 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):