Skip to content

Commit 2cbf072

Browse files
committed
Fix link to alternate formatters (slides, code)
Fixes #862
1 parent 1358505 commit 2cbf072

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
@@ -670,7 +670,7 @@ def render_notebook_template(
670670
download_url=download_url,
671671
format=self.format,
672672
default_format=self.default_format,
673-
format_prefix=self.format_prefix,
673+
format_prefix=format_prefix,
674674
formats=dict(self.filter_formats(nb, json_notebook)),
675675
format_base=self.request.uri.replace(self.format_prefix, "").replace(
676676
self.base_url, "/"

0 commit comments

Comments
 (0)