aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/data/format/css.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/data/format/css.lux')
-rw-r--r--stdlib/source/library/lux/data/format/css.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/data/format/css.lux b/stdlib/source/library/lux/data/format/css.lux
index a0d849ccf..e0c1d1773 100644
--- a/stdlib/source/library/lux/data/format/css.lux
+++ b/stdlib/source/library/lux/data/format/css.lux
@@ -50,7 +50,7 @@
(def: .public (font font)
(-> Font (CSS Special))
(let [with_unicode (case (value@ #/font.unicode_range font)
- (#.Some unicode_range)
+ {#.Some unicode_range}
(let [unicode_range' (format "U+" (\ nat.hex encoded (value@ #/font.start unicode_range))
"-" (\ nat.hex encoded (value@ #/font.end unicode_range)))]
(list ["unicode-range" unicode_range']))
@@ -74,7 +74,7 @@
(-> URL (Maybe Query) (CSS Special))
(:abstraction (format (format "@import url(" (%.text url) ")")
(case query
- (#.Some query)
+ {#.Some query}
(format " " (/query.query query))
#.None