Skip to content

Commit dc5aca8

Browse files
author
Richard Cox
committed
UPDATE: Better comparison for null-Byte
1 parent 3591111 commit dc5aca8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

org/w3c/css/values/CssANPlusB.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ public String toString() {
206206
sb.append('n');
207207
}
208208
if (b != null) {
209-
sb.append(operator);
209+
if(operator != '\0') {
210+
sb.append(operator);
211+
}
210212
sb.append(b.toPlainString());
211213
}
212214
representation = sb.toString();

0 commit comments

Comments
 (0)