Skip to content

Commit

Permalink
Use the correct input for apply_shortcodes in html
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Aug 25, 2016
1 parent 2101cd8 commit b6e1bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/compile/html.py
Expand Up @@ -53,7 +53,7 @@ def compile_html(self, source, dest, is_two_file=True):
data = in_file.read()
if not is_two_file:
_, data = self.split_metadata(data)
data, shortcode_deps = self.site.apply_shortcodes(source, with_dependencies=True, extra_context=dict(post=post))
data, shortcode_deps = self.site.apply_shortcodes(data, with_dependencies=True, extra_context=dict(post=post))
out_file.write(data)
if post is None:
if shortcode_deps:
Expand Down

0 comments on commit b6e1bcb

Please sign in to comment.