packages feed

xmlhtml 0.1.5 → 0.1.5.1

raw patch · 3 files changed

+6/−6 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

src/Text/XmlHtml/XML/Render.hs view
@@ -39,7 +39,7 @@                                    `mappend` fromText e tag                                    `mappend` externalID e ext                                    `mappend` internalSubset e int-                                   `mappend` fromText e ">"+                                   `mappend` fromText e ">\n"   ------------------------------------------------------------------------------
test/suite/Text/XmlHtml/Tests.hs view
@@ -562,14 +562,14 @@     toByteString (render (XmlDocument UTF8         (Just (DocType "html" (System "test\'ing") NoInternalSubset))         []))-    == utf8Decl `B.append` "<!DOCTYPE html SYSTEM \"test\'ing\">"+    == utf8Decl `B.append` "<!DOCTYPE html SYSTEM \"test\'ing\">\n"  doubleQuoteInSysID :: Bool doubleQuoteInSysID =     toByteString (render (XmlDocument UTF8         (Just (DocType "html" (System "test\"ing") NoInternalSubset))         []))-    == utf8Decl `B.append` "<!DOCTYPE html SYSTEM \'test\"ing\'>"+    == utf8Decl `B.append` "<!DOCTYPE html SYSTEM \'test\"ing\'>\n"  bothQuotesInSysID :: Bool bothQuotesInSysID = isBottom $@@ -653,14 +653,14 @@     toByteString (render (HtmlDocument UTF8         (Just (DocType "html" (System "test\'ing") NoInternalSubset))         []))-    == "<!DOCTYPE html SYSTEM \"test\'ing\">"+    == "<!DOCTYPE html SYSTEM \"test\'ing\">\n"  hDoubleQuoteInSysID :: Bool hDoubleQuoteInSysID =     toByteString (render (HtmlDocument UTF8         (Just (DocType "html" (System "test\"ing") NoInternalSubset))         []))-    == "<!DOCTYPE html SYSTEM \'test\"ing\'>"+    == "<!DOCTYPE html SYSTEM \'test\"ing\'>\n"  hBothQuotesInSysID :: Bool hBothQuotesInSysID = isBottom $
xmlhtml.cabal view
@@ -1,5 +1,5 @@ Name:                xmlhtml-Version:             0.1.5+Version:             0.1.5.1 Synopsis:            XML parser and renderer with HTML 5 quirks mode Description:         Contains renderers and parsers for both XML and HTML 5                      document fragments, which share data structures wo that