Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
escape_html.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * tlx/string/escape_html.hpp
3  *
4  * Part of tlx - http://panthema.net/tlx
5  *
6  * Copyright (C) 2007-2017 Timo Bingmann <[email protected]>
7  *
8  * All rights reserved. Published under the Boost Software License, Version 1.0
9  ******************************************************************************/
10 
11 #ifndef TLX_STRING_ESCAPE_HTML_HEADER
12 #define TLX_STRING_ESCAPE_HTML_HEADER
13 
14 #include <string>
15 
16 namespace tlx {
17 
18 //! \addtogroup tlx_string
19 //! \{
20 
21 /*!
22  * Escape characters for inclusion in HTML documents: replaces the characters <,
23  * >, & and " with HTML entities.
24  */
26 
27 /*!
28  * Escape characters for inclusion in HTML documents: replaces the characters <,
29  * >, & and " with HTML entities.
30  */
31 std::string escape_html(const char* str);
32 
33 //! \}
34 
35 } // namespace tlx
36 
37 #endif // !TLX_STRING_ESCAPE_HTML_HEADER
38 
39 /******************************************************************************/
std::string escape_html(const std::string &str)
Escape characters for inclusion in HTML documents: replaces the characters <, >, & and " with HTML en...
Definition: escape_html.cpp:17
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Definition: allocator.hpp:220