diff --git a/Text/Highlighting/Kate/Format/HTML.hs b/Text/Highlighting/Kate/Format/HTML.hs
--- a/Text/Highlighting/Kate/Format/HTML.hs
+++ b/Text/Highlighting/Kate/Format/HTML.hs
@@ -100,7 +100,7 @@
          tablespec = [
            "table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {"
           ,"  margin: 0; padding: 0; vertical-align: baseline; border: none; }"
-          ,"table.sourceCode { " ++
+          ,"table.sourceCode { width: 100%; " ++
              maybe "" (\c -> "background-color: " ++ fromColor c ++ "; ") (backgroundColor f) ++
              maybe "" (\c -> "color: " ++ fromColor c ++ "; ") (defaultColor f) ++
              "}"
diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,3 +1,8 @@
+highlighting-kate 0.5.0.1 (31 Jan 2012)
+
+  * Give table.sourceCode width of 100%, for consistency
+    between numbered and unnumbered code blocks.
+
 highlighting-kate 0.5 (25 Jan 2012)
 
   * Text.Highlighting.Kate.Format.HTML now exports styleToCss
diff --git a/highlighting-kate.cabal b/highlighting-kate.cabal
--- a/highlighting-kate.cabal
+++ b/highlighting-kate.cabal
@@ -1,5 +1,5 @@
 Name:                highlighting-kate
-Version:             0.5
+Version:             0.5.0.1
 Cabal-Version:       >= 1.6
 Build-Type:          Simple
 Category:            Text
