diff --git a/src/Microsoft.AspNet.Mvc.TagHelpers/LinkTagHelper.cs b/src/Microsoft.AspNet.Mvc.TagHelpers/LinkTagHelper.cs index 28a6d65640..26ebf63d63 100644 --- a/src/Microsoft.AspNet.Mvc.TagHelpers/LinkTagHelper.cs +++ b/src/Microsoft.AspNet.Mvc.TagHelpers/LinkTagHelper.cs @@ -292,22 +292,22 @@ namespace Microsoft.AspNet.Mvc.TagHelpers builder.Append(Environment.NewLine); // Build the tag that's used to test for the presence of the stylesheet - builder.Append(string.Format( + builder.AppendFormat( CultureInfo.InvariantCulture, "", - HtmlEncoder.HtmlEncode(FallbackTestClass))); + HtmlEncoder.HtmlEncode(FallbackTestClass)); // Build the "); } }