From 8d98d7620902fecb41fe11b5475414941bbfac60 Mon Sep 17 00:00:00 2001 From: Levi B Date: Thu, 19 Feb 2015 14:42:20 -0800 Subject: [PATCH] Code comment clarifications --- src/Microsoft.AspNet.WebUtilities/Encoders/IHtmlEncoder.cs | 6 +++--- src/Microsoft.AspNet.WebUtilities/Encoders/IUrlEncoder.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.AspNet.WebUtilities/Encoders/IHtmlEncoder.cs b/src/Microsoft.AspNet.WebUtilities/Encoders/IHtmlEncoder.cs index 89947567ce..b48aa2ddcf 100644 --- a/src/Microsoft.AspNet.WebUtilities/Encoders/IHtmlEncoder.cs +++ b/src/Microsoft.AspNet.WebUtilities/Encoders/IHtmlEncoder.cs @@ -17,7 +17,7 @@ namespace Microsoft.AspNet.WebUtilities.Encoders /// output. /// /// - /// The encoded value is also safe for inclusion inside an HTML attribute + /// The encoded value is also appropriately encoded for inclusion inside an HTML attribute /// as long as the attribute value is surrounded by single or double quotes. /// void HtmlEncode([NotNull] char[] value, int startIndex, int charCount, [NotNull] TextWriter output); @@ -29,7 +29,7 @@ namespace Microsoft.AspNet.WebUtilities.Encoders /// The HTML-encoded value, or null if the input string was null. /// /// - /// The return value is also safe for inclusion inside an HTML attribute + /// The return value is also appropriately encoded for inclusion inside an HTML attribute /// as long as the attribute value is surrounded by single or double quotes. /// string HtmlEncode(string value); @@ -39,7 +39,7 @@ namespace Microsoft.AspNet.WebUtilities.Encoders /// supplied output. /// /// - /// The encoded value is also safe for inclusion inside an HTML attribute + /// The encoded value is also appropriately encoded for inclusion inside an HTML attribute /// as long as the attribute value is surrounded by single or double quotes. /// void HtmlEncode([NotNull] string value, int startIndex, int charCount, [NotNull] TextWriter output); diff --git a/src/Microsoft.AspNet.WebUtilities/Encoders/IUrlEncoder.cs b/src/Microsoft.AspNet.WebUtilities/Encoders/IUrlEncoder.cs index c04014570e..464a92ba0e 100644 --- a/src/Microsoft.AspNet.WebUtilities/Encoders/IUrlEncoder.cs +++ b/src/Microsoft.AspNet.WebUtilities/Encoders/IUrlEncoder.cs @@ -16,7 +16,7 @@ namespace Microsoft.AspNet.WebUtilities.Encoders /// output. /// /// - /// The encoded value is safe for use in the segment, query, or + /// The encoded value is appropriately encoded for inclusion in the segment, query, or /// fragment portion of a URI. /// void UrlEncode([NotNull] char[] value, int startIndex, int charCount, [NotNull] TextWriter output); @@ -28,7 +28,7 @@ namespace Microsoft.AspNet.WebUtilities.Encoders /// The URL-escaped value, or null if the input string was null. /// /// - /// The return value is safe for use in the segment, query, or + /// The return value is appropriately encoded for inclusion in the segment, query, or /// fragment portion of a URI. /// string UrlEncode(string value); @@ -37,7 +37,7 @@ namespace Microsoft.AspNet.WebUtilities.Encoders /// URL-escapes a string and writes the result to the supplied output. /// /// - /// The encoded value is safe for use in the segment, query, or + /// The encoded value is appropriately encoded for inclusion in the segment, query, or /// fragment portion of a URI. /// void UrlEncode([NotNull] string value, int startIndex, int charCount, [NotNull] TextWriter output);