AndersDJohnson / AndersDJohnson/htmlcompressor

&& in attributes breaks compression

Ouverte
#99 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
auto-migrated Priority-Medium Type-Defect
Langage dominant
Java
Étoiles
1
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

```
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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.