Remove HTML Tags in Haskell -
i have string such
<b>vitamin a</b><br>chloe braided halter swim top, using text.html.tagsoup attempting remove html , have
"vitamin chloe braided halter swim top" using
import qualified text.html.tagsoup ts ts.parsetags "<b>vitamin a</b><br>chloe braided halter swim top," [tagtext "<b>vitamin a</b><br>chloe braided halter swim top,"] how can strip html tags ?
does have text.html.tagsoup? seems hakyll.web.html better fit: https://hackage.haskell.org/package/hakyll-4.1.2.1/docs/hakyll-web-html.html
there have function seems want:
striptags :: string -> stringsource
strip html tags string
Comments
Post a Comment