HtmlHelper Class
Helper to parse several HTML tags.
public static class HtmlHelperMethods
| Name | Description |
|---|---|
| EscapeUrlCharacter(char) | Performs the escape url character operation. |
| ScanEntity<T>(T, int, int, int) | Scans an entity. Returns number of chars matched. |
| TryParseHtmlTag(StringSlice, string?) | Attempts to parse html tag. |
| Unescape(string?, bool) | Destructively unescape a string: remove backslashes before punctuation or symbol characters. |
EscapeUrlCharacter(char)
HtmlHelper.csScanEntity<T>(T, int, int, int)
HtmlHelper.csTryParseHtmlTag(StringSlice, string?)
HtmlHelper.csAttempts to parse html tag.
public static bool TryParseHtmlTag(ref StringSlice text, out string? htmlTag)Unescape(string?, bool)
HtmlHelper.csDestructively unescape a string: remove backslashes before punctuation or symbol characters.