diff --git a/doc/index.xml b/doc/index.xml index e8aebf3..ddb8bc6 100644 --- a/doc/index.xml +++ b/doc/index.xml @@ -48,12 +48,10 @@ Plexippus: XPath 1.0 -
  • Closure HTML: diff --git a/test/misc.lisp b/test/misc.lisp index 84d65f4..eaa1a1d 100644 --- a/test/misc.lisp +++ b/test/misc.lisp @@ -27,3 +27,19 @@ (doit 32 #xD800) (doit #x10000 char-code-limit) (values))) + +;; <4824D34F.5000002@acceleration.net> +(deftest chtml-encoding + (with-output-to-string (stream) + (let ((doc (dom:create-document + 'rune-dom:implementation + nil nil + (dom:create-document-type + 'rune-dom:implementation + "html" + "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd")))) + (dom:map-document (chtml:make-character-stream-sink stream) + doc + :include-xmlns-attributes nil + :include-doctype :full-internal-subset))))