sourceFormatting

Availability: >= 3.0

Type: Object Method

Description: Given a string of HTML code this method will return that code formatted according to the editor's htmlVersion setting.

Syntax:

string html editor.sourceFormattingstring html );