searchEngine.stripMarkup

Syntax searchEngine.stripMarkup (htmlText)

Params htmlText is a string containing HTML markup and Frontier macros to remove.

Action Removes HTML markup and Frontier macros from a string of text.

Returns A string, the original string minus markup.

Examples searchEngine.stripMarkup ("<b>Hello World!</b>")

   » "Hello World! "

searchEngine.stripMarkup ("The time is: <i>{clock.now ()}</i>")

   » "The time is: "

Discuss