X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=views.lisp;h=0aeafe1bda4b2401a7d617dcea6c321a66bb246d;hb=d6af219e32386c64ef95b8ff0dd8900ea92371fc;hp=4b0867e0ca5ec3b19cb40e2f9467a9f6854ef654;hpb=fb79a796c6ff0b90aedc377a804b48a7b543f65b;p=hyperobject.git diff --git a/views.lisp b/views.lisp index 4b0867e..0aeafe1 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.48 2003/05/26 21:43:05 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 "