Formats a symbol or other name by encoding HTML characters and
adding HTML break elements as appropriate.
- Namespace
- Statiq
.Docs - Containing Type
- I
Execution Context Extensions
Syntax
public static string GetFormattedHtmlName(this IExecutionContext context, string name)
Parameters
| Name | Type | Description |
|---|---|---|
| context | IExecutionContext | The execution context. |
| name | string | The name to format. |
Return Value
| Type | Description |
|---|---|
| string | The name formatted for use in HTML. |