Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/core/html/css_composer.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,10 @@ static bool css_starts_url(const char *p) {
* @param css CSS source text; must not be NULL.
* @return Newly created sstring with the minified CSS, or NULL on invalid
* input or allocation failure. Caller owns the returned string.
* @details Preserves /*!...*!/ comments verbatim, quoted strings, escapes, and
* unquoted url() arguments. Whitespace around structural characters
* and comments is dropped unless removing it would glue two tokens.
* @details Preserves license comments (those opening with a '!'), quoted
* strings, escapes, and unquoted url() arguments verbatim.
* Whitespace around structural characters and comments is dropped
* unless removing it would glue two tokens.
*/
cwist_sstring *cwist_css_minify(const char *css) {
if (!css) return NULL;
Expand Down
Loading