Skip to content

Commit 7297a73

Browse files
authored
Merge pull request #358 from vanillajonathan/patch-1
Fix incorrect documentation
2 parents 874f1be + 50c4791 commit 7297a73

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/HtmlSanitizer/IHtmlSanitizer.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,31 @@ public interface IHtmlSanitizer
3030
IMarkupFormatter OutputFormatter { get; set; }
3131

3232
/// <summary>
33-
/// Gets or sets the allowed CSS at-rules such as "@media" and "@font-face".
33+
/// Gets the allowed CSS at-rules such as "@media" and "@font-face".
3434
/// </summary>
3535
/// <value>
3636
/// The allowed CSS at-rules.
3737
/// </value>
3838
ISet<CssRuleType> AllowedAtRules { get; }
3939

4040
/// <summary>
41-
/// Gets or sets the allowed HTTP schemes such as "http" and "https".
41+
/// Gets the allowed URI schemes such as "http" and "https".
4242
/// </summary>
4343
/// <value>
44-
/// The allowed HTTP schemes.
44+
/// The allowed URI schemes.
4545
/// </value>
4646
ISet<string> AllowedSchemes { get; }
4747

4848
/// <summary>
49-
/// Gets or sets the allowed HTML tag names such as "a" and "div".
49+
/// Gets the allowed HTML tag names such as "a" and "div".
5050
/// </summary>
5151
/// <value>
5252
/// The allowed tag names.
5353
/// </value>
5454
ISet<string> AllowedTags { get; }
5555

5656
/// <summary>
57-
/// Gets or sets the allowed HTML attributes such as "href" and "alt".
57+
/// Gets the allowed HTML attributes such as "href" and "alt".
5858
/// </summary>
5959
/// <value>
6060
/// The allowed HTML attributes.
@@ -174,4 +174,4 @@ public interface IHtmlSanitizer
174174
/// <returns>The sanitized HTML document.</returns>
175175
string SanitizeDocument(string html, string baseUrl = "", IMarkupFormatter? outputFormatter = null);
176176
}
177-
}
177+
}

0 commit comments

Comments
 (0)