diff --git a/HTMLFormatter.py b/HTMLFormatter.py index 01278db..4788fd8 100644 --- a/HTMLFormatter.py +++ b/HTMLFormatter.py @@ -212,7 +212,7 @@ class MobileFormatter (XMLishFormatter): cat.extra = file_.hr_extent cat.charset = file_.encoding - cat.url = file_.url + cat.url = '/' + file_.filename cat.icon = dc.icon cat.icon2 = 'download' cat.class_ += 'filelink'