hxt-tagsoup 9.1.1 → 9.1.2
raw patch · 2 files changed
+7/−4 lines, 2 filesdep ~tagsoup
Dependency ranges changed: tagsoup
Files
hxt-tagsoup.cabal view
@@ -1,6 +1,6 @@ -- arch-tag: Haskell XML Toolbox main description file Name: hxt-tagsoup-Version: 9.1.1+Version: 9.1.2 Synopsis: TagSoup parser for HXT Description: The Tagsoup interface for the HXT lazy HTML parser. License: OtherLicense@@ -10,7 +10,7 @@ Stability: Stable Category: XML Homepage: http://www.fh-wedel.de/~si/HXmlToolbox/index.html-Copyright: Copyright (c) 2010 Uwe Schmidt+Copyright: Copyright (c) 2014 Uwe Schmidt Build-type: Simple Cabal-version: >=1.6 @@ -33,7 +33,10 @@ extensions: MultiParamTypeClasses DeriveDataTypeable FunctionalDependencies FlexibleInstances build-depends: base >= 4 && < 5,- tagsoup >= 0.10 && < 0.13,+ tagsoup >= 0.13 && < 0.14, hxt-charproperties >= 9 && < 10, hxt-unicode >= 9 && < 10, hxt >= 9.1 && < 10+Source-Repository head+ Type: git+ Location: git://github.com/UweSchmidt/hxt.git
src/Text/XML/HXT/Parser/TagSoup.hs view
@@ -244,7 +244,7 @@ lookupEntity :: Bool -> Bool -> (String, Bool) -> Tags lookupEntity withWarnings _asHtml (e0@('#':e), withSemicolon) = case lookupNumericEntity e of- Just c -> (TagText [c])+ Just c -> (TagText c) : missingSemi Nothing -> ( TagText $ "&" ++ e0 ++ [';' | withSemicolon]) : if withWarnings