Skip to content

Commit

Permalink
Add content expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
canyon289 committed Apr 29, 2022
1 parent e8d6318 commit 595f3be
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 @@ -337,7 +337,7 @@ def _get_intrasite_link_regex(self):
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
Expand Down

0 comments on commit 595f3be

Please sign in to comment.