Parsec Haskell to HTML

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-04-24T22:48:19Z Indexed on 2010/04/24 22:53 UTC
Read the original article Hit count: 305

Filed under:
|
|

I'm using Text.ParserCombinators.Parsec and Text.XHtml to parse an input like this:

hello 123 --this is an emphasized text-- bye\n

And my output should be:

<p>hello 123 <em>this is an emphasized text</em> bye\n</p>

Any ideas? Thanks!!

© Stack Overflow or respective owner

Related posts about parsing

Related posts about haskell