Summary
Sanitizes a string to be a valid HTML ID.
- Assembly
- Cake
.Issues .Reporting .Generic .dll - Namespace
- Cake
.Issues .Reporting .Generic - Containing Type
- StringExtensions
Syntax
public static string SanitizeHtmlIdAttribute(this string input)
Parameters
Name | Type | Description |
---|---|---|
input | string | String which should be sanitized. |
Return Value
Type | Description |
---|---|
string | input as valid HTML ID. |