Add example to unescape_html() documentation.
This commit is contained in:
parent
cf2ff119b4
commit
8cfba1f16b
@ -30,6 +30,12 @@ using std::string;
|
||||
*
|
||||
* Supports named and numbered entities, decimal and hexadecimal.
|
||||
*
|
||||
* Example:
|
||||
* @code
|
||||
* // Will output: 2€ = 2€ = 2€
|
||||
* std::cout << mastodonpp::unescape_html("2€ = 2€ = 2€");
|
||||
* @endcode
|
||||
*
|
||||
* @param html The HTML to unescape.
|
||||
*
|
||||
* @since 0.4.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user