tlx
Loading...
Searching...
No Matches
escape_html.cpp File Reference
#include <tlx/string/escape_html.hpp>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  tlx

Functions

std::string escape_html (const std::string &str)
 Escape characters for inclusion in HTML documents: replaces the characters <, >, & and " with HTML entities.
std::string escape_html (const char *str)
 Escape characters for inclusion in HTML documents: replaces the characters <, >, & and " with HTML entities.