aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/html.c b/html.c
index d89df3a..959148c 100644
--- a/html.c
+++ b/html.c
@@ -239,32 +239,6 @@ void html_url_arg(const char *txt)
html(txt);
}
-void html_header_arg_in_quotes(const char *txt)
-{
- const char *t = txt;
- while (t && *t) {
- unsigned char c = *t;
- const char *e = NULL;
- if (c == '\\')
- e = "\\\\";
- else if (c == '\r')
- e = "\\r";
- else if (c == '\n')
- e = "\\n";
- else if (c == '"')
- e = "\\\"";
- if (e) {
- html_raw(txt, t - txt);
- html(e);
- txt = t + 1;
- }
- t++;
- }
- if (t != txt)
- html(txt);
-
-}
-
void html_hidden(const char *name, const char *value)
{
html("<input type='hidden' name='");