Permalink
Browse files

Remove unnecessary space from the output so Markdown and CodeHighligh…

…ter will work together

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  • Loading branch information...
1 parent 95238ef commit 276916c58bfea1ae41cf1c3e42a2caa2ad9f4b60 R. Tyler Ballance committed Apr 8, 2009
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/Filters.py
View
@@ -136,12 +136,9 @@ def filter(self, source, **kwargs):
formatter = formatters.HtmlFormatter(cssclass='code_highlighter')
encoded = highlight(encoded, lexer, formatter)
css = formatter.get_style_defs('.code_highlighter')
- return '''<style type="text/css">
- <!--
+ return '''<style type="text/css"><!--
%(css)s
- -->
- </style>
- %(source)s''' % {'css' : css, 'source' : encoded}
+ --></style>%(source)s''' % {'css' : css, 'source' : encoded}

0 comments on commit 276916c

Please sign in to comment.