MinifyXhtml.

RemoveTagsWithoutContent(bool) Method

Summary

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.
Assembly
Wyam.Minification.dll
Namespace
Wyam.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.
GitHub