Click or drag to resize

EAPEncodeForAttr Method

Escapes the provided string for use as the value of an attribute in an HTML tag.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string ForAttr(
	string s
)

Parameters

s
Type: SystemString
The string to escape.

Return Value

Type: String
The string, escaped for use in an HTML attribute.
See Also