we may want to write to the output-stream after calling the template.
io.encodings.utf8 io.files io.streams.string kernel namespaces
prettyprint quotations sequences strings xml.data xml.syntax
xml.writer ;
-! USING: accessors kernel fry io io.encodings.utf8 io.files
-! debugger prettyprint continuations namespaces boxes sequences
-! arrays strings html io.streams.string assocs
-! quotations xml.data xml.writer xml.syntax ;
IN: html.templates
MIXIN: template
M: xml call-template* write-xml ;
-M: object call-template* output-stream get stream-copy ;
+M: object call-template* output-stream get stream-copy* ;
ERROR: template-error template error ;