content: Don't update static content

This commit is contained in:
W. Trevor King 2013-03-22 00:13:37 -04:00
commit 29f0aa39d2

View file

@ -171,6 +171,9 @@ class Content(object):
:param siteurl: siteurl which is locally generated by the writer in
case of RELATIVE_URLS.
"""
if not content:
return content
hrefs = re.compile(r"""
(?P<markup><\s*[^\>]* # match tag with src and href attr
(?:href|src)\s*=)