HTMLHelperReformatHTML Method |
Reformats the HTML code indentation.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static string ReformatHTML(
string inputText,
string indentationString = "",
int maxIndent = 2147483647
)
Parameters
- inputText
- Type: SystemString
Input text - indentationString (Optional)
- Type: SystemString
Indentation string, "\t" is used by default - maxIndent (Optional)
- Type: SystemInt32
Maximum indentation level, Int32.MaxValue is used by default
Return Value
Type:
StringSee Also