RemoveTagsWithoutContent(bool) Method
Flag for whether to remove tags without content, except for textarea, tr, th and td tags, and tags with class, id, name, role, src and data-* attributes.
Namespace
Statiq.Minification
Containing Type
MinifyXhtml

Syntax

public MinifyXhtml RemoveTagsWithoutContent(bool removeTagsWithoutContent = false)

Parameters

Name Type Description
removeTagsWithoutContent bool Default value is false.

Return Value

Type Description
MinifyXhtml The current instance.