Parsec Haskell to HTML
- by Martin
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!!