MinifyHtml.

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
MinifyHtml

Syntax

public MinifyHtml RemoveTagsWithoutContent(bool removeTagsWithoutContent = false)

Parameters

Name Type Description
removeTagsWithoutContent bool Default value is false.

Return Value

Type Description
MinifyHtml The current instance.
GitHub