X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base.lisp;h=ac32af829547c79126aaca158049d1b7f327dc9a;hb=5559792b52819370c47ec865053216ec91ae81e2;hp=20a1677c3abde47a40baef1df288c877d8208e8b;hpb=f87e936240074170daa279652ab259909f967a4e;p=lml.git diff --git a/base.lisp b/base.lisp index 20a1677..ac32af8 100644 --- a/base.lisp +++ b/base.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: base.lisp,v 1.12 2003/03/05 04:25:09 kevin Exp $ +;;;; $Id: base.lisp,v 1.13 2003/03/23 18:38:16 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -85,10 +85,10 @@ (defmacro with-no-endtag-attr-string (tag attr-string) (let ((attr (gensym))) `(let ((,attr ,attr-string)) - (lml-format "<~(~A~) ~A />" ',tag + (lml-format "<~(~A~)~A />" ',tag (if (and (stringp ,attr) (plusp (length ,attr))) - (format nil "~A" ,attr) - ""))))) + (format nil " ~A" ,attr) + ""))))) (defun one-keyarg-string (key value) "Return attribute string for keys"