MinifyHtml.

EmptyTagRenderMode(HtmlEmptyTagRenderMode) Method

Summary

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 />).
Assembly
Wyam.Minification.dll
Namespace
Wyam.Minification
Containing Type
MinifyHtml

Syntax

public MinifyHtml EmptyTagRenderMode(HtmlEmptyTagRenderMode emptyTagRenderMode = 0)

Parameters

Name Type Description
emptyTagRenderMode HtmlEmptyTagRenderMode Enum type WebMarkupMin.Core.HtmlEmptyTagRenderMode; default value is HtmlEmptyTagRenderMode.NoSlash

Return Value

Type Description
MinifyHtml The current instance.
GitHub