WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIScriptableUnescapeHTML

IID:3ab244a9-f09d-44da-9e3f-ee4d67367f2d
Inherits From:nsISupports

A utility class that unescapes HTML strings.

This interface is implemented by the following components:


Methods

nsIDOMDocumentFragment parseFragment ( AString fragment , PRBool isXML , nsIURI baseURI , nsIDOMElement element ) AString unescape ( AString src )

nsIDOMDocumentFragment parseFragment ( AString fragment , PRBool isXML , nsIURI baseURI , nsIDOMElement element )

Appends the text to the element.

Arguments:
fragment
isXML
baseURI
element

AString unescape ( AString src )

Converts all entities to Unicode.

Arguments:
src: The HTML string to escape.

Reference documentation is generated from Mozilla's source.