class com.google.ads.studio.utils.HtmlUtils
Utilities for dealing with HTML.
Static Methods
HtmlUtils.htmlToText(html:String)
:
String
Converts an HTML string to a text string, by decoding the HTML entities and stripping out the HTML tags.
HtmlUtils.stripTags(text:String)
:
String
Strips out the HTML tags from the text string.
HtmlUtils.xmlDecode(str:String)
:
String
Utility function to decode an escaped xml string.
For example, it will convert:
<foo> to