diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2017-03-12 22:20:56 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2017-03-12 22:20:56 +0100 |
commit | 22201057dd7b6a71334eb661ff6df11261a3cd22 (patch) | |
tree | 2d539d308e66cacf299e50d24a7bc823d1b16b13 | |
parent | 886829026a56c87ecedded82ae26b182c969d553 (diff) |
Fixed pre tags in HTML formatter.
The ending tag should be </pre>, not <pre>.
-rw-r--r-- | pastepy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ class CustomHtmlFormatter(HtmlFormatter): for i, t in source: yield i, '<span id="codeline-%d">%s</span>' % (line, t) line += 1 - yield 0, '<pre>' + yield 0, '</pre>' class Paste(object): def __init__(self): |