Skip to content

Commit ba71d46

Browse files
minor change/gripe
1 parent 3c03ace commit ba71d46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/HTMLKitParse/ParseData.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ extension HTMLKitUtilities {
6262
}
6363
}
6464
}
65-
guard !context.minify else { return minify(html: innerHTML) }
65+
if context.minify {
66+
innerHTML = minify(html: innerHTML)
67+
}
6668
innerHTML.replace(HTMLKitUtilities.lineFeedPlaceholder, with: "\\n")
6769
return innerHTML
6870
}

0 commit comments

Comments
 (0)