AndersDJohnson / AndersDJohnson/htmlcompressor

&& in attributes breaks compression

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

Beschreibung

```
What steps will reproduce the problem?
1. Write HTML that has to use && (eg: Angular)
2. Try to run the compressor on it.
3. Note that you have missing code, weird quotation marks, etc.

What is the expected output? What do you see instead?

I expect && to appear in my attributes and for the rest of the code to compress
nicely. Instead, the parser seems to be totally confused.

What version of the product are you using? On what operating system?

0.1.2 via middleman-minify-html 3.4.0
```

Original issue reported on code.google.com by `Smokejum...@gmail.com` on 26 Dec 2014 at 8:17

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.