Click or drag to resize
HTMLHelperReformatHTML Method (String, String, Int32)
Reformats the HTML code indentation.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string ReformatHTML(
	string inputText,
	string indentationString,
	int maxIndent
)

Parameters

inputText
Type: SystemString
Input text
indentationString
Type: SystemString
Indentation string
maxIndent
Type: SystemInt32
Maximum indentation level

Return Value

Type: String
See Also