diff --git a/WebBits-Html.cabal b/WebBits-Html.cabal
--- a/WebBits-Html.cabal
+++ b/WebBits-Html.cabal
@@ -1,5 +1,5 @@
 Name:           WebBits-Html
-Version:        1.0
+Version:        1.0.1
 Cabal-Version:	>= 1.2.3
 Copyright:      Copyright (c) 2007-2009 Arjun Guha and Spiridon Eliopoulos
 License:        LGPL
diff --git a/src/BrownPLT/Html/PermissiveParser.hs b/src/BrownPLT/Html/PermissiveParser.hs
--- a/src/BrownPLT/Html/PermissiveParser.hs
+++ b/src/BrownPLT/Html/PermissiveParser.hs
@@ -471,6 +471,7 @@
 htmlWithWarnings :: Script s 
                  => CharParser [Warning] (Html.Html SourcePos s,[Warning])
 htmlWithWarnings = do
+  spaces 
   h <- html
   ws <- getState
   return (h,ws)
