nstcl  >  Documentation  >  nstcl-html  >  ns_striphtml

Tcl Powered!

ns_striphtml

NAME

ns_striphtml — Strip HTML tags

SYNOPSIS

package require nstcl-html ?1.0?
package require nstcl ?1.0?

::nstcl::ns_striphtml ?-tags_only? html

DESCRIPTION

ns_striphtml removes all HTML tags from a given chunk of html.

OPTIONAL SWITCH

-tags_only
If specified HTML entities are not removed; if not specified, they are.

KEYWORDS

html, nstcl