Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Whitespace is stripped from the beginning of text #10

Closed
snoyberg opened this Issue · 3 comments

2 participants

@snoyberg

Consider the following example:

{-# LANGUAGE OverloadedStrings #-}
import Text.HTML.TagStream.Text
import Data.Conduit
import qualified Data.Conduit.List as CL

input = "<foo>  hello</foo>"

main = yield input $$ tokenStream =$ CL.mapM_ print

I would have expected the Text value to be " hello", but instead the leading whitespace is stripped down to "hello". Would it be possible to make this adjustment?

@yihuang yihuang closed this in 0e23e8e
@snoyberg

Thanks! Would it be possible to get this update onto Hackage?

@yihuang
Owner

I forgets my hackage account password, and the password reset system don't work for now. You can upload it yourself, thanks.

@snoyberg

Done, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.