Correct initialization of `IdAttributeDotReplacement
- #704 part 1 of 2 - doesn't help tag builders unless done in `DefaultHtmlGenerator`
This commit is contained in:
parent
98d749d03c
commit
f9e44ff7f9
|
|
@ -39,6 +39,9 @@ namespace Microsoft.AspNet.Mvc.Rendering
|
|||
_antiForgery = antiForgery;
|
||||
_metadataProvider = metadataProvider;
|
||||
_urlHelper = urlHelper;
|
||||
|
||||
// Underscores are fine characters in id's.
|
||||
IdAttributeDotReplacement = "_";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
|
|
@ -42,9 +42,6 @@ namespace Microsoft.AspNet.Mvc.Rendering
|
|||
_viewEngine = viewEngine;
|
||||
_htmlGenerator = htmlGenerator;
|
||||
MetadataProvider = metadataProvider;
|
||||
|
||||
// Underscores are fine characters in id's.
|
||||
IdAttributeDotReplacement = "_";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
Loading…
Reference in New Issue