Fixed content handling in ps-who-html.
authorVladimir Sedach <vsedach@gmail.com>
Sat, 13 Dec 2008 01:27:47 +0000 (18:27 -0700)
committerVladimir Sedach <vsedach@gmail.com>
Sat, 13 Dec 2008 01:27:47 +0000 (18:27 -0700)
src/lib/ps-html.lisp

index d1488cf..84ca2db 100644 (file)
@@ -53,7 +53,7 @@
                       (let (content)
                         (labels ((process-attributes (attrs)
                                    (cond ((null attrs) )
-                                         ((= 1 (length attrs)) (setf content (car attrs)))
+                                         ((= 1 (length attrs)) (setf content attrs))
                                          ((consp (car attrs))
                                           (push `(if ,(first attrs)
                                                      (concat-string ,(format nil " ~A=\"" (second attrs)) ,(third attrs) "\"")