Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Aug 2, 2016
1 parent c3e092e commit 458df91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/compile/rest/__init__.py
Expand Up @@ -78,8 +78,8 @@ def compile_html_string(self, data, source_path=None, is_two_file=True):
'syntax_highlight': 'short',
'math_output': 'mathjax',
'template': default_template_path,
'language_code': LocaleBorg().current_lang,
}
settings_overrides['language_code'] = LocaleBorg().current_lang

output, error_level, deps = rst2html(
data, settings_overrides=settings_overrides, logger=self.logger, source_path=source_path, l_add_ln=add_ln, transforms=self.site.rst_transforms)
Expand Down

0 comments on commit 458df91

Please sign in to comment.