tlx
escape_html.cpp File Reference
#include <tlx/string/escape_html.hpp>
#include <cstring>

Go to the source code of this file.

Namespaces

 tlx
 

Functions

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