Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 276916c58bfea1ae41cf1c3e42a2caa2ad9f4b60 1 parent 95238ef
authored April 07, 2009

Showing 1 changed file with 2 additions and 5 deletions. Show diff stats Hide diff stats

  1. 7  src/Filters.py
7  src/Filters.py
@@ -136,12 +136,9 @@ def filter(self, source, **kwargs):
136 136
         formatter = formatters.HtmlFormatter(cssclass='code_highlighter')
137 137
         encoded = highlight(encoded, lexer, formatter)
138 138
         css = formatter.get_style_defs('.code_highlighter')
139  
-        return '''<style type="text/css">
140  
-            <!--
  139
+        return '''<style type="text/css"><!--
141 140
                 %(css)s
142  
-            -->
143  
-            </style>
144  
-            %(source)s''' % {'css' : css, 'source' : encoded}
  141
+            --></style>%(source)s''' % {'css' : css, 'source' : encoded}
145 142
 
146 143
 
147 144
 

0 notes on commit 276916c

Please sign in to comment.
Something went wrong with that request. Please try again.