AndersDJohnson / AndersDJohnson/htmlcompressor

Strip spaces between quoted attributes

Offen
#63 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
auto-migrated Priority-Medium Type-Enhancement
Vorherrschende Sprache
Java
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```
According to HTML5 spec, attributes contain multiple values must be quoted
(i.e., unquoted attributes mustn't contain space):
http://www.w3.org/TR/html5/syntax.html#attributes-0

But we can strip space between quoted attributes to save some bits, get the
idea from here:
https://github.com/kangax/html-minifier/issues/2

Are you interested in hosting this project on github? It's more easily to get
contributed there. :)

```

Original issue reported on code.google.com by `gra...@gmail.com` on 8 Dec 2011 at 6:29

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.