ServicePRO SDK Help

HTMLTagHelper..::..ClearInvalidHtml Method

Clears tags from html which are not required

Namespace:  HelpSTAR.PCL.Common.Helpers
Assembly:  HelpSTAR.PCL.Common (in HelpSTAR.PCL.Common.dll)

Syntax


public static string ClearInvalidHtml(
	string html,
	bool isSharepointHtml,
	bool isFromServer
)
Public Shared Function ClearInvalidHtml ( _
	html As String, _
	isSharepointHtml As Boolean, _
	isFromServer As Boolean _
) As String

Parameters

html
Type: String
Html to process
isSharepointHtml
Type: Boolean
Is html coming from sharepoint
isFromServer
Type: Boolean
Is the call from server.

Return Value

Filtered html

Remarks


#748427- Style tags in all calls coming from starwatch and email factory are handled differently, however calls from client cannot be handled in same way, hence 'isFromServer' flag has been added