LocalizeTagHelperOptions.

HtmlEncodeByDefault Property

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).

Syntax

public bool HtmlEncodeByDefault { get; set; }

Remarks

Defaults to true.

Value

Type Description
bool