AndersDJohnson / AndersDJohnson/htmlcompressor

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

Aperta
#95 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
auto-migrated Priority-Medium Type-Defect
Lingua principale
Java
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.