utils.js
No description.

File Location

/goog/html/utils.js


Public Protected Private

Global Functions

goog.html.utils.stripHtmlTags(value) string
Extracts text from HTML. Block-level elements such as div are surrounded with whitespace, but inline elements are not. Span is treated as a block level element because it is often used as a container. Breaking spaces are compressed and trimmed.
Arguments:
value : string
The input HTML to have tags removed.
Returns: string  A representation of value without tags, HTML comments, or other non-text content.
code »

Directory html

File Reference