summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-01-11 10:22:19 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-01-11 10:22:19 -0500
commit23a1c7d1de76762465f90635a5e31f58b46fe611 (patch)
tree4ed3d80acae013fb6366e52f37e5e0f2c55588cb /src/c
parent6b14938a39f6a00cce63b693e879d1df433913b6 (diff)
Use header to set default script type
Diffstat (limited to 'src/c')
-rw-r--r--src/c/urweb.c2
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;
}
}