HCoop
/
clinton
/
parenscript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6274a44
)
Fixed unterminating recursion in who-ps-html when element has attributes but no content.
author
Vladimir Sedach
<vsedach@gmail.com>
Thu, 4 Dec 2008 06:34:26 +0000
(23:34 -0700)
committer
Vladimir Sedach
<vsedach@gmail.com>
Thu, 4 Dec 2008 06:34:26 +0000
(23:34 -0700)
src/lib/ps-html.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/ps-html.lisp
b/src/lib/ps-html.lisp
index
d2d96cc
..
d1488cf
100644
(file)
--- a/
src/lib/ps-html.lisp
+++ b/
src/lib/ps-html.lisp
@@
-52,7
+52,8
@@
(push (format nil "<~A" (car form)) r)
(let (content)
(labels ((process-attributes (attrs)
- (cond ((= 1 (length attrs)) (setf content (car attrs)))
+ (cond ((null attrs) )
+ ((= 1 (length attrs)) (setf content (car attrs)))
((consp (car attrs))
(push `(if ,(first attrs)
(concat-string ,(format nil " ~A=\"" (second attrs)) ,(third attrs) "\"")