diff options
Diffstat (limited to 'net/base/escape.h')
-rw-r--r-- | net/base/escape.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/base/escape.h b/net/base/escape.h index eede454..45f2ddf 100644 --- a/net/base/escape.h +++ b/net/base/escape.h @@ -39,10 +39,6 @@ NET_EXPORT std::string EscapeExternalHandlerValue(const std::string& text); // the character would be interpretted as an HTML delimiter. NET_EXPORT void AppendEscapedCharForHTML(char c, std::string* output); -// Escape chars that might cause this text to be interpretted as HTML tags. -NET_EXPORT std::string EscapeForHTML(const std::string& text); -NET_EXPORT string16 EscapeForHTML(const string16& text); - // Unescaping ------------------------------------------------------------------ class UnescapeRule { @@ -87,6 +83,10 @@ class UnescapeRule { namespace net { +// Escape chars that might cause this text to be interpretted as HTML tags. +NET_EXPORT std::string EscapeForHTML(const std::string& text); +NET_EXPORT string16 EscapeForHTML(const string16& text); + // Unescapes |escaped_text| and returns the result. // Unescaping consists of looking for the exact pattern "%XX", where each X is // a hex digit, and converting to the character with the numerical value of |