Skip to content

Commit 52fb11d

Browse files
authored
Merge pull request #989 from propertone/master
Fix link to alternate formatters (slides, code)
2 parents 91161d7 + 2cbf072 commit 52fb11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbviewer/providers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def render_notebook_template(
669669
download_url=download_url,
670670
format=self.format,
671671
default_format=self.default_format,
672-
format_prefix=self.format_prefix,
672+
format_prefix=format_prefix,
673673
formats=dict(self.filter_formats(nb, json_notebook)),
674674
format_base=self.request.uri.replace(self.format_prefix, "").replace(
675675
self.base_url, "/"

0 commit comments

Comments
 (0)