X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=views.lisp;h=dfd6aaa6332190f72d336c683c7330bb50a2a92d;hb=4e78f4f0086c35ac3fd4459e3fff1186d13bc07f;hp=4b0867e0ca5ec3b19cb40e2f9467a9f6854ef654;hpb=fb79a796c6ff0b90aedc377a804b48a7b543f65b;p=hyperobject.git diff --git a/views.lisp b/views.lisp index 4b0867e..dfd6aaa 100644 --- a/views.lisp +++ b/views.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: views.lisp,v 1.47 2003/05/22 21:03:52 kevin Exp $ +;;;; $Id: views.lisp,v 1.49 2003/05/30 18:46:35 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -177,12 +177,10 @@ (let* ((slot-data (slot-value obj name)) (fmt-data (if formatter (funcall formatter slot-data) - slot-data)) - (data (if cdata - (kmrcl:xml-cdata fmt-data) - fmt-data))) - (write-simple data strm))) - + slot-data))) + (if cdata + (write-xml-cdata fmt-data strm) + (write-simple fmt-data strm)))) (defun ppfc-html (title name type formatter cdata print-func) (vector-push-extend '(write-string "