-
-
Notifications
You must be signed in to change notification settings - Fork 5
Hypertext Markup Language
Taiizor edited this page Mar 1, 2023
·
2 revisions
The HtmlExtension class provides extension methods for encoding, decoding, minifying, and beautifying HTML strings.
Skylark.Standard.Extension.Html
Encodes an HTML string using the JavaScript unescape()
function.
-
Html
(optional): The HTML string to encode. The default value isMHHM.Html
, which is an empty string.
The encoded HTML string.
-
E
: If an exception occurs during encoding, the original exception is rethrown wrapped in a newE
exception.
Encodes an HTML string asynchronously using the JavaScript unescape()
function.
-
Html
(optional): The HTML string to encode. The default value isMHHM.Html
, which is an empty string.
A Task<string>
that represents the encoded HTML string.
-
E
: If an exception occurs during encoding, the original exception is rethrown wrapped in a newE
exception.
Decodes an HTML string that was encoded using the Encode()
method.
-
Html
(optional): The HTML string to decode. The default value isMHHM.Html
, which is an empty string.
The decoded HTML string.
-
E
: If an exception occurs during decoding, the original exception is rethrown wrapped in a newE
exception.
Decodes an HTML string asynchronously that was encoded using the Encode()
method.
-
Html
(optional): The HTML string to decode. The default value isMHHM.Html
, which is an empty string.
A Task<string>
that represents the decoded HTML string.
-
E
: If an exception occurs during decoding, the original exception is rethrown wrapped in a newE
exception.
- Tax
- Url
- Web
- Ping
- Port
- Text
- Time
- Hash
- Word
- Color
- Speed
- Lottery
- Storage
- Browser
- Unicode
- Password
- JavaScript
- Cryptology
- Typography
- Temperature
- Compression
- Decompression
- Cascading Style Sheets
- JavaScript Object Notation
- Hypertext Markup Language
- Extensible Markup Language
- Extensible HyperText Markup Language