summaryrefslogtreecommitdiffabout
path: root/include/sitecing/util.h
Side-by-side diff
Diffstat (limited to 'include/sitecing/util.h') (more/less context) (show whitespace changes)
-rw-r--r--include/sitecing/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sitecing/util.h b/include/sitecing/util.h
index 5750ab6..a38ae90 100644
--- a/include/sitecing/util.h
+++ b/include/sitecing/util.h
@@ -1,57 +1,57 @@
#ifndef __SITECING_UTIL_H
#define __SITECING_UTIL_H
#include <ostream>
#include <string>
#include "sitecing/acomponent.h"
/**
* @file
* @brief more or less non-internal utility classes and functions.
*/
namespace sitecing {
using namespace std;
/**
* the html_escape options enumeration.
*/
enum html_escape_options {
/**
* Turn spaces into &nbsp;
*/
html_escape_nbsp = 0x0001,
/**
- * Turn newlines into <br/> or <br>.
+ * Turn newlines into br/ or br.
*/
html_escape_br = 0x0002,
/**
* Turn quotes to &quot;
*/
html_escape_quot = 0x0004,
/**
- * Do not put '/' into <br/> consruct.
+ * Do not put '/' into br consruct.
*/
html_escape_br_noslash = 0x0008
};
/**
* Escape string suitable for html output.
* @param str the string.
* @param flags options.
* @return the string escaped.
* @see html_escape_options
*/
string html_escape(const string& str,int flags=html_escape_br);
/**
* The output string checkpoint object, letting one to rollback output.
*/
class checkpoint {
public:
/**
* The object's death will enumeration.
*/
enum will_t {
/**
* The stream is to be rolled back at object destruction.
*/