Commit 864add40 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Bugfix in @page minification

parent ceb37812
...@@ -167,9 +167,9 @@ let rec minify_statement = function ...@@ -167,9 +167,9 @@ let rec minify_statement = function
| Import (target, queries) -> | Import (target, queries) ->
"@import " ^ string_of_expr target ^ " " ^ cat "," string_of_media_query queries ^ ";" "@import " ^ string_of_expr target ^ " " ^ cat "," string_of_media_query queries ^ ";"
| Page (None, decls) -> | Page (None, decls) ->
"@page{" ^ cat "" minify_declaration decls ^ "}" "@page{" ^ cat ";" minify_declaration decls ^ "}"
| Page (Some pseudo, decls) -> | Page (Some pseudo, decls) ->
"@page :" ^ pseudo ^ "{" ^ cat "" minify_declaration decls ^ "}" "@page :" ^ pseudo ^ "{" ^ cat ";" minify_declaration decls ^ "}"
| Font_face decls -> | Font_face decls ->
let minify_descriptor_declaration (name, value) = let minify_descriptor_declaration (name, value) =
name ^ ":" ^ string_of_expr value name ^ ":" ^ string_of_expr value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment