Click or drag to resize
HTMLHelperEnsureLineEnding Method
Ensures proper line ending within the given string.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string EnsureLineEnding(
	string text,
	string requiredLineEnd
)

Parameters

text
Type: SystemString
Text to process
requiredLineEnd
Type: SystemString
Required line ending string

Return Value

Type: String
See Also