Mercurial > urweb
diff src/c/urweb.c @ 599:889dc9fceb3a
Use header to set default script type
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 11 Jan 2009 10:22:19 -0500 |
parents | 8f8771f32909 |
children | aa2290c32ce2 |
line wrap: on
line diff
--- a/src/c/urweb.c Sun Jan 11 10:05:06 2009 -0500 +++ b/src/c/urweb.c Sun Jan 11 10:22:19 2009 -0500 @@ -382,7 +382,7 @@ } else { char *r = uw_malloc(ctx, 41 + (ctx->script_front - ctx->script)); - sprintf(r, "<script type=\"text/javascript\">%s</script>", ctx->script); + sprintf(r, "<script>%s</script>", ctx->script); return r; } }