diff --git a/Text/HTML/TagSoup.hs b/Text/HTML/TagSoup.hs
--- a/Text/HTML/TagSoup.hs
+++ b/Text/HTML/TagSoup.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE TypeSynonymInstances, PatternGuards #-}
+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, PatternGuards #-}
 
 {-|
     This module is for working with HTML/XML. It deals with both well-formed XML and
diff --git a/Text/StringLike.hs b/Text/StringLike.hs
--- a/Text/StringLike.hs
+++ b/Text/StringLike.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE TypeSynonymInstances #-}
+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 
 -- | /WARNING/: This module is /not/ intended for use outside the TagSoup library.
 --
diff --git a/tagsoup.cabal b/tagsoup.cabal
--- a/tagsoup.cabal
+++ b/tagsoup.cabal
@@ -1,6 +1,6 @@
 cabal-version:  >= 1.6
 name:           tagsoup
-version:        0.12.2
+version:        0.12.3
 copyright:      Neil Mitchell 2006-2011
 author:         Neil Mitchell <ndmitchell@gmail.com>
 maintainer:     Neil Mitchell <ndmitchell@gmail.com>
