diff trunk/src/docgen/misc/textutils.d @ 453:4e5b35df3060

Parsing bugfixes, cleaned up imports.
author Jari-Matti M?kel? <jmjm@iki.fi>
date Thu, 25 Oct 2007 01:08:38 +0300
parents 3f44c38bf870
children e562d455cbbe
line wrap: on
line diff
--- a/trunk/src/docgen/misc/textutils.d	Wed Oct 24 22:31:38 2007 +0300
+++ b/trunk/src/docgen/misc/textutils.d	Thu Oct 25 01:08:38 2007 +0300
@@ -4,9 +4,6 @@
  */
 module docgen.misc.textutils;
 
-import tango.io.model.IConduit;
-import tango.io.stream.GreedyStream;
-
 // copied from Generate.d
 char[] xml_escape(char[] text)
 {
@@ -23,16 +20,6 @@
   return result;
 }
 
-class XMLEscapeOutput : GreedyOutput {
-  this (OutputStream stream) {
-    super(stream);
-  }
-
-  uint write (void[] src) {
-    return super.write( xml_escape(cast(char[])src) );
-  }
-}
-
 char[] plainTextHeading(char[] s) {
   char[] line;
   line.length = 80;
@@ -47,4 +34,4 @@
   line[] = "-";
   
   return line[0..l].dup ~ \n;
-}
\ No newline at end of file
+}