Summary
Flag for whether to remove all HTML comments, except conditional, noindex, KnockoutJS containerless comments and AngularJS comment directives.
- Assembly
- Wyam
.Minification .dll - Namespace
- Wyam
.Minification - Containing Type
- MinifyXhtml
Syntax
public MinifyXhtml RemoveHtmlComments(bool removeHtmlComments = true)
Parameters
Name | Type | Description |
---|---|---|
removeHtmlComments | bool | Default value is true . |
Return Value
Type | Description |
---|---|
MinifyXhtml | The current instance. |