// -*- c-basic-offset: 4 -*- #ifndef CLICK_PRETTY_HTML_HH #define CLICK_PRETTY_HTML_HH #include #include #include #include String html_quote_attr(const String &); String html_quote_text(const String &); String html_unquote(const String &); String html_unquote(const char *x, const char *end); const char *process_tag(const char *x, String &tag, HashMap &attr, bool &ended, bool unquote_value = true); const char *output_template_until_tag (const char *templ, FILE *outf, String &tag, HashMap &attrs, bool unquote = true, String *sep = 0); const char *output_template_until_tag (const char *templ, StringAccum &sa, String &tag, HashMap &attrs, bool unquote = true, String *sep = 0); inline String html_unquote(const String &s) { return html_unquote(s.data(), s.data() + s.length()); } #endif