diff --git a/include/helpers.hpp b/include/helpers.hpp index f962256..815693f 100644 --- a/include/helpers.hpp +++ b/include/helpers.hpp @@ -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