mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
content: Don't update static content
This commit is contained in:
parent
fdde17281d
commit
29f0aa39d2
1 changed files with 3 additions and 0 deletions
|
|
@ -171,6 +171,9 @@ class Content(object):
|
||||||
:param siteurl: siteurl which is locally generated by the writer in
|
:param siteurl: siteurl which is locally generated by the writer in
|
||||||
case of RELATIVE_URLS.
|
case of RELATIVE_URLS.
|
||||||
"""
|
"""
|
||||||
|
if not content:
|
||||||
|
return content
|
||||||
|
|
||||||
hrefs = re.compile(r"""
|
hrefs = re.compile(r"""
|
||||||
(?P<markup><\s*[^\>]* # match tag with src and href attr
|
(?P<markup><\s*[^\>]* # match tag with src and href attr
|
||||||
(?:href|src)\s*=)
|
(?:href|src)\s*=)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue