Skip to content
Browse files


  • Loading branch information
ralsina committed Aug 21, 2015
1 parent a987c7c commit 8e0083526c6dd7ae4fa535829812498d7ad8f2e6
Showing with 0 additions and 1 deletion.
  1. +0 −1 nikola/
@@ -1067,7 +1067,6 @@ def rewrite_links(self, doc, src, lang):
objs = list(doc.findall('*//img')) + list(doc.findall('*//source'))
for obj in objs:
if 'srcset' in obj.attrib:
from import set_trace; set_trace()
urls = [u.strip() for u in obj.attrib['srcset'].split(',')]
urls = [self.url_replacer(src, dst, lang) for dst in urls]
obj.set('srcset', ', '.join(urls))

0 comments on commit 8e00835

Please sign in to comment.
You can’t perform that action at this time.