diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-01-11 10:22:19 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-01-11 10:22:19 -0500 |
commit | 0c5be5455c4f1e078831cb434bb9df215a410ad9 (patch) | |
tree | 4ed3d80acae013fb6366e52f37e5e0f2c55588cb /src/c/urweb.c | |
parent | 40a04276005343f3dbc7d963a425e382a4e20701 (diff) |
Use header to set default script type
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r-- | src/c/urweb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index 54646fd8..e28fa5f4 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -382,7 +382,7 @@ char *uw_Basis_get_script(uw_context ctx, uw_unit u) { } 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; } } |