Skip to content
Permalink
Browse files

Fix variable name

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 8, 2017
1 parent bd4fb57 commit 1800f18c92abcfb40611a82948e01fbbaa98ee2f
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/compile/markdown/__init__.py
@@ -69,8 +69,8 @@ def compile_string(self, data, source_path=None, is_two_file=True, post=None, la
req_missing(['markdown'], 'build this site (compile Markdown)')
self.extensions += self.site.config.get("MARKDOWN_EXTENSIONS")
if not is_two_file:
_, content = self.split_metadata(content)
output = markdown(content, self.extensions, output_format="html5")
_, data = self.split_metadata(data)
output = markdown(data, self.extensions, output_format="html5")
output, shortcode_deps = self.site.apply_shortcodes(output, filename=source_path, with_dependencies=True, extra_context={'post': post})
return output, shortcode_deps

0 comments on commit 1800f18

Please sign in to comment.
You can’t perform that action at this time.