hakyll-3.2.0.2: A static website compiler library

Hakyll.Web.Util.Html

Description

Miscellaneous HTML manipulation functions

Synopsis

Documentation

stripTags :: String -> StringSource

Strip all HTML tags from a string

Example:

 stripTags "<p>foo</p>"

Result:

 "foo"

This also works for incomplete tags

Example:

 stripTags "<p>foo</p"

Result:

 "foo"