From a0f950a57be97a09ff1ea8a1339232379d37574c Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Thu, 18 Jan 2007 20:20:20 +0000 Subject: - added function StringEscapeAndBreak, which *first* html-escapes a string and *second* replaces \n by
- using StringEscapeAndBreak for description in whats_on --- tools.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools.h') diff --git a/tools.h b/tools.h index a269d22..589767c 100644 --- a/tools.h +++ b/tools.h @@ -27,6 +27,7 @@ std::vector< std::string > StringSplit( std::string const& text, char delimiter int StringToInt( std::string const& string, int base = 10 ); std::string StringRepeat(int times, const std::string& input); std::string StringWordTruncate(const std::string& input, size_t maxLen, bool& truncated); +std::string StringEscapeAndBreak( std::string const& input ); struct bad_lexical_cast: std::runtime_error { -- cgit v1.2.3