X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base.lisp;h=dfc116293a09a04cca44abbcf2d7442d81e147cf;hb=a9d2317b140c0709db1837922c8ec9528e6d8b76;hp=167082f159fcd8c64800aa4dd8839f5cc9eaf30f;hpb=dc3d60708af336b85c4766dc5a3aefd1a82b278d;p=lml.git diff --git a/base.lisp b/base.lisp index 167082f..dfc1162 100644 --- a/base.lisp +++ b/base.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: base.lisp,v 1.7 2003/02/07 02:37:18 kevin Exp $ +;;;; $Id: base.lisp,v 1.8 2003/02/07 04:20:25 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -73,7 +73,7 @@ (defmacro with-attr-string (tag attr-string &body body) (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) "")) @@ -85,7 +85,7 @@ (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) "")))))