Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Commented Unassigned: Incorrect minification of HTML strings [21899]

$
0
0
Steps to reproduce:

Create test.js with this code:
```
var str = '<div>Test</div>';
```

Run `ajaxmin.exe test.js -out test.min.js`

Output:
```
var str="<div>Test<\/div>"
```

Expected output:
```
var str="<div>Test</div>"
```

__Issue:__ Ajax Minifier is uncecessarily escaping the forward slash in the closing tag.

I'm using version 5.14.5506.26196.
Comments: ** Comment from web user: l0basetom **

Hi Ron, I'm aware that "\/" = "/", but when minifying .js files I felt it wasn't necessary. I guess this is where the -inline:no switch comes into play then. Please close this ticket.


Viewing all articles
Browse latest Browse all 683

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>