Uli Köhler 8 роки тому
батько
коміт
3f5c07585b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      liquid_tags/include_code.py

+ 1 - 1
liquid_tags/include_code.py

@@ -116,7 +116,7 @@ def include_code(preprocessor, tag, markup):
     source = (open_tag
               + '\n\n    '
               + lang_include
-              + '\n    '.join(code.split('\n')) + '\n\n'
+              + '\n    '.join(code.decode("utf-8").split('\n')) + '\n\n'
               + close_tag + '\n')
 
     return source