Summary
Gets or sets a value indicating whether the localize tag helpers should localize its content by default.
(Can be overridden by using
html=
when calling one of the localize tag helpers).
- Namespace
- Localization
.AspNetCore .TagHelpers - Containing Type
- Localize
Tag Helper Options
Syntax
public bool HtmlEncodeByDefault { get; set; }
Remarks
Defaults to
true
.Value
Type | Description |
---|---|
bool |