apache-tuscany/sca-cpp/trunk/patches/page-speed-1.9.patch

11 lines
402 B
Diff

--- third_party/instaweb/src/net/instaweb/rewriter/elide_attributes_filter.cc
+++ third_party/instaweb/src/net/instaweb/rewriter/elide_attributes_filter.cc
@@ -82,7 +82,7 @@
const TagAttrValue kDefaultList[] = {
{"script", "language", NULL},
- {"script", "type", NULL},
+ {"script", "type", "text/javascript"},
{"style", "type", NULL},
{"br", "clear", "none"},
{"a", "shape", "rect"},