AndersDJohnson / AndersDJohnson/htmlcompressor

&& in attributes breaks compression

Open
#99 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Java
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.