Skip to content

Commit 458df91

Browse files
committedAug 2, 2016
style fix
1 parent c3e092e commit 458df91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/plugins/compile/rest/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ def compile_html_string(self, data, source_path=None, is_two_file=True):
7878
'syntax_highlight': 'short',
7979
'math_output': 'mathjax',
8080
'template': default_template_path,
81+
'language_code': LocaleBorg().current_lang,
8182
}
82-
settings_overrides['language_code'] = LocaleBorg().current_lang
8383

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

0 commit comments

Comments
 (0)
Please sign in to comment.