Closed ylexus closed 7 years ago
@ylexus I guess the minifier assumes there is a semi-colon there.
Seems it's an issue with CSSMin: https://github.com/barryvan/CSSMin/issues/20
body{font-family:verdana,geneva,sans-serif;font-size:90%}table{border:1px solid black;border-collapse:collapse;font-size:90%}th{text-align:left}th,td{vertical-align:text-top}td.unresolved{color:red}td.resolved{color:green}th,td{padding:0.2em;text-align:left}td.odd,th.odd{background-color:#f2f2f2}
Released as part of 1.2.1
<dependency>
<groupId>com.j2html</groupId>
<artifactId>j2html</artifactId>
<version>1.2.1</version>
</dependency>
http://search.maven.org/#artifactdetails%7Ccom.j2html%7Cj2html%7C1.2.1%7Cjar
j2html 1.2.0. To reproduce, run this:
which yields in
body{font-family:verdana,geneva,sans-serif;font-size:90}table{border:1px solid black;border-collapse:collapse;font-size:90}th{text-align:lef}th,td{vertical-align:text-to}td.unresolved{color:re}td.resolved{color:gree}th,td{padding:0.2em;text-align:lef}td.odd,th.odd{background-color:#f2f2f}
Note last character of each selector is trimmed.