From 4d38820911f3de4ceb39bdde688837284f76f473 Mon Sep 17 00:00:00 2001 From: Nate Choe Date: Mon, 6 Jun 2022 17:30:18 -0500 Subject: [PATCH] Reworked minification --- src/parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parse.c b/src/parse.c index db570b2..9ed2ea8 100644 --- a/src/parse.c +++ b/src/parse.c @@ -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; } }