diff options
-rw-r--r-- | templates/patch_view.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/patch_view.tmpl b/templates/patch_view.tmpl index 5e605bf..52b9036 100644 --- a/templates/patch_view.tmpl +++ b/templates/patch_view.tmpl @@ -24,6 +24,6 @@ $escape($str($patch.diffstat)) </div> <h2>Patch contents</h2> <div class="patch"> - $pygments.highlight($str($patch), $DiffLexer(), $HtmlFormatter(style='colorful', noclasses=True, encoding='utf-8')) + $pygments.highlight($str($patch).decode('utf-8'), $DiffLexer(), $HtmlFormatter(style='colorful', noclasses=True, encoding='utf-8')) </div> #end def |