Render mode of HTML empty tag. Can take the following values:
NoSlash
.Without slash(for example,<br>
).Slash
.With slash(for example,<br/>
).SpaceAndSlash
.With space and slash(for example,<br />
).
- Namespace
- Statiq
.Minification - Containing Type
- MinifyHtml
Syntax
public MinifyHtml EmptyTagRenderMode(HtmlEmptyTagRenderMode emptyTagRenderMode = null)
Parameters
Name | Type | Description |
---|---|---|
emptyTagRenderMode | Html |
Enum type WebMarkupMin.Core.HtmlEmptyTagRenderMode ; default value is HtmlEmptyTagRenderMode.NoSlash . |
Return Value
Type | Description |
---|---|
MinifyHtml | The current instance. |