We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c03ace commit ba71d46Copy full SHA for ba71d46
Sources/HTMLKitParse/ParseData.swift
@@ -62,7 +62,9 @@ extension HTMLKitUtilities {
62
}
63
64
65
- guard !context.minify else { return minify(html: innerHTML) }
+ if context.minify {
66
+ innerHTML = minify(html: innerHTML)
67
+ }
68
innerHTML.replace(HTMLKitUtilities.lineFeedPlaceholder, with: "\\n")
69
return innerHTML
70
0 commit comments