AndersDJohnson / AndersDJohnson/htmlcompressor
styleTypeAttrPattern should also search for type="text/css"
未關閉
auto-migrated
Priority-Medium
Type-Defect
- 主要語言
- Java
- 星號
- 1
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
```
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。