Skip to content

Commit

Permalink
Merge pull request sphinx-doc#2359 from atzeinicola/stable
Browse files Browse the repository at this point in the history
  • Loading branch information
birkenfeld committed Feb 28, 2016
2 parents 9558342 + d5a2073 commit 2cd696e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/writers/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def depart_highlightlang(self, node):
def visit_download_reference(self, node):
if node.hasattr('filename'):
self.body.append(
'<a class="reference download internal" href="%s">' %
'<a class="reference download internal" href="%s" download="">' %
posixpath.join(self.builder.dlpath, node['filename']))
self.context.append('</a>')
else:
Expand Down

0 comments on commit 2cd696e

Please sign in to comment.