Skip to content

Commit

Permalink
Really fix #2930 (change also needed for Lexer)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Dec 5, 2017
1 parent a7ede10 commit 287d079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/template/mako.py
Expand Up @@ -54,7 +54,7 @@ class MakoTemplates(TemplateSystem):

def get_string_deps(self, text, filename=None):
"""Find dependencies for a template string."""
lex = lexer.Lexer(text=text, filename=filename)
lex = lexer.Lexer(text=text, filename=filename, input_encoding='utf-8')
lex.parse()

deps = []
Expand Down

0 comments on commit 287d079

Please sign in to comment.