# HG changeset patch # User Mads Kiilerich # Date 1483663431 -3600 # Node ID 65b6797b102d48170b755c82525dffd75c4dcc6d # Parent 2c1c03581874032c10a0be8bcbbbba83d1921618 templates: div inside pre is not valid html - use span instead diff -r 2c1c03581874 -r 65b6797b102d kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/lib/helpers.py Fri Jan 06 01:43:51 2017 +0100 @@ -159,7 +159,7 @@ def _wrap_code(self, source): for cnt, it in enumerate(source): i, t = it - t = '
%s
' % (cnt + 1, t) + t = '%s' % (cnt + 1, t) yield i, t def _wrap_tablelinenos(self, inner):