htmlprettyprinter.js
No description.

File Location

/goog/format/htmlprettyprinter.js

Classes

goog.format.HtmlPrettyPrinter
This class formats HTML to be more human-readable. TODO(user): Add hierarchical indentation.
goog.format.HtmlPrettyPrinter.Buffer
This class is a buffer to which we push our output. It tracks line breaks to make sure we don't add unnecessary ones.

Public Protected Private

Global Functions

goog.format.HtmlPrettyPrinter.format(html) string
Static utility function. See prototype #format.
Arguments:
html : string
The HTML text to pretty print.
Returns: string  Formatted result.
code »
goog.format.HtmlPrettyPrinter.getInstance_() !goog.format.HtmlPrettyPrinter
Singleton lazy initializer.
Returns: !goog.format.HtmlPrettyPrinter  Singleton.
code »

Directory format

File Reference