Reworked minification

This commit is contained in:
Nate Choe
2022-06-06 17:30:18 -05:00
parent 25232421b1
commit 4d38820911

View File

@@ -283,10 +283,10 @@ static void mputc(struct minstate *state, char c, FILE *file) {
if (isspace(c))
state->isspace = 1;
else {
if (!state->ignore && state->isspace && c != '<' && c != '>')
if (!state->ignore && state->isspace && c != '>')
fputc(' ', file);
fputc(c, file);
state->ignore = c == '<' || c == '>';
state->ignore = c == '<';
state->isspace = 0;
}
}