AndersDJohnson / AndersDJohnson/htmlcompressor

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

オープン
#95 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。