RemoveOptionalEndTags(bool) Method
Flag for whether to remove optional end tags (html, head, body, p, li, dt, dd, rt, rp, optgroup, option, colgroup, thead, tfoot, tbody, tr, th and td).
Namespace
Statiq.Minification
Containing Type
MinifyHtml

Syntax

public MinifyHtml RemoveOptionalEndTags(bool removeOptionalEndTags = true)

Parameters

Name Type Description
removeOptionalEndTags bool Default value is true.

Return Value

Type Description
MinifyHtml The current instance.