AndersDJohnson / AndersDJohnson/htmlcompressor

styleTypeAttrPattern should also search for type="text/css"

Đang mở
#95 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
auto-migrated Priority-Medium Type-Defect
Ngôn ngữ chính
Java
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

```

Trying to compress
the attribute type="text/css" should be removed, since it is the default value

The styleTypeAttrPattern matches (and the compressor later remove)
type="text/style" , but the common value is "text/css".
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style#Attributes

I'd suggest to match and remove both.
```

Original issue reported on code.google.com by `chiod...@gmail.com` on 9 May 2014 at 7:42

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.