forked from github/pelican
Merge pull request #3001 from canyon289/content_expansion
This commit is contained in:
commit
5c222ef41b
2 changed files with 11 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ class Content:
|
|||
intrasite_link_regex = self.settings['INTRASITE_LINK_REGEX']
|
||||
regex = r"""
|
||||
(?P<markup><[^\>]+ # match tag with all url-value attributes
|
||||
(?:href|src|poster|data|cite|formaction|action)\s*=\s*)
|
||||
(?:href|src|poster|data|cite|formaction|action|content)\s*=\s*)
|
||||
|
||||
(?P<quote>["\']) # require value to be quoted
|
||||
(?P<path>{}(?P<value>.*?)) # the url value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue