packages feed

blaze-html 0.1 → 0.1.1

raw patch · 2 files changed

+5/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

blaze-html.cabal view
@@ -7,10 +7,12 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             0.1+Version:             0.1.1  -- A short (one-line) description of the package.-Synopsis:            A blazingly fast HTML generation library.+Synopsis:            A blazingly fast HTML combinator library.+Description:         A blazingly fast HTML combinator library for the Haskell+                     programming language.  -- A longer description of the package. -- Description:         
src/Text/Blaze/Internal/Utf8Builder.hs view
@@ -201,7 +201,7 @@                -> Char                                     -- ^ Input 'Char'.                -> a                                        -- ^ Result. encodeCharUtf8 f1 f2 f3 f4 c = case ord c of-    x | x <= 0xFF -> f1 $ fromIntegral x+    x | x <= 0x7F -> f1 $ fromIntegral x       | x <= 0x07FF ->            let x1 = fromIntegral $ (x `shiftR` 6) + 0xC0                x2 = fromIntegral $ (x .&. 0x3F)   + 0x80