From bda8fe2209a16daba9266e64bb7fab8483751c25 Mon Sep 17 00:00:00 2001 From: Shinmera Date: Fri, 10 Feb 2017 11:08:52 +0100 Subject: [PATCH] Fix url property function --- special.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/special.lisp b/special.lisp index 385f9af..7519da2 100644 --- a/special.lisp +++ b/special.lisp @@ -12,12 +12,12 @@ ,@(loop for (name args) on rest by #'cddr collect `(define-simple-property-function ,name ,args))))) (define-properties - url (url) rgb (red green blue) rgba (red green blue alpha) hsl (hue saturation lightness) hsla (hue saturation lightness alpha))) (define-property-function hex (hex) (format NIL "#~6,'0d" hex)) +(define-property-function url (url) (format NIL "url(~s)" url)) (define-property-function calc (func) (with-output-to-string (out)