X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Flwn-epub.git;a=blobdiff_plain;f=src%2FLWN%2FXHTML.hs;h=5d3bbd17327a8eaf20bec29152ed30de9aa9c7df;hp=a2f103fa0d83b7ae433f239036e02456eb6e08f3;hb=68bab2c1cc272e99c94447afb93678e2b4d4bc72;hpb=fc0052e451aa03675ebd9a128dfa46573b9357d7 diff --git a/src/LWN/XHTML.hs b/src/LWN/XHTML.hs index a2f103f..5d3bbd1 100644 --- a/src/LWN/XHTML.hs +++ b/src/LWN/XHTML.hs @@ -16,7 +16,6 @@ module LWN.XHTML ( where import Text.HandsomeSoup (css) -import Text.Regex.Posix ((=~)) import Text.XML.HXT.Core ( (>>>), (/>), @@ -163,7 +162,7 @@ full_story_link = hasName "a" >>> ifA - (this /> hasText (=~ "Full Story")) + (this /> hasText (== "Full Story")) this none