Don't rewrite & in entity values; it is assumed that value is already
authorChris Hanson <org/chris-hanson/cph>
Mon, 9 Dec 2002 18:17:57 +0000 (18:17 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 9 Dec 2002 18:17:57 +0000 (18:17 +0000)
rewritten.

v7/src/xml/xml-output.scm

index e210906f141b4e4ed854ff96bc0c5add60be7d87..4245f21c8c69a764d9757d8cc006777d0196cab0 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: xml-output.scm,v 1.6 2002/12/09 05:47:33 cph Exp $
+;;; $Id: xml-output.scm,v 1.7 2002/12/09 18:17:57 cph Exp $
 ;;;
 ;;; Copyright (c) 2001, 2002 Massachusetts Institute of Technology
 ;;;
               (write-string (if (char=? char #\") "&quot;" "&apos;") port))
              ((char=? char #\%)
               (write-string "&#37;" port))
-             ((char=? char #\&)
-              (write-string "&amp;" port))
              (else
               (write-char char port)))))
     (write-char quote-char port)))