[Mono-bugs] [Bug 59466][Nor] New - HtmlTextWriter fails to render closing HTML tags it does not know

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 2 Jun 2004 08:32:50 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by markus@kraeutner.org.

http://bugzilla.ximian.com/show_bug.cgi?id=59466

--- shadow/59466	2004-06-02 08:32:50.000000000 -0400
+++ shadow/59466.tmp.9231	2004-06-02 08:32:50.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 59466
+Product: Mono: Class Libraries
+Version: unspecified
+OS: SUSE 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: markus@kraeutner.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HtmlTextWriter fails to render closing HTML tags it does not know
+
+The following program should print out:
+<test></test>
+
+instead it only prints:
+<test>
+
+using System;
+using System.Web.UI;
+
+namespace test_writer
+{
+  class Class1
+  {
+    static void Main(string[] args)
+    {
+      HtmlTextWriter w = new HtmlTextWriter(System.Console.Out);
+      w.RenderBeginTag("test");
+      w.RenderEndTag();
+    }
+  }
+}