min-width in highlight, thanks Andre

This commit is contained in:
mdipierro
2014-01-27 15:50:52 -06:00
parent e833783fb0
commit 6731eb9b2d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.8.2-stable+timestamp.2014.01.26.15.51.25
Version 2.8.2-stable+timestamp.2014.01.27.15.49.57
+1 -1
View File
@@ -333,7 +333,7 @@ def highlight(
== '_' and value])
if fa:
fa = ' ' + fa
return '<table%s><tr style="vertical-align:top;"><td style="width:40px; text-align: right;"><pre style="%s">%s</pre></td><td><pre style="%s">%s</pre></td></tr></table>'\
return '<table%s><tr style="vertical-align:top;"><td style="min-width:40px; text-align: right;"><pre style="%s">%s</pre></td><td><pre style="%s">%s</pre></td></tr></table>'\
% (fa, linenumbers_style, numbers, code_style, code)