[Mono-bugs] [Bug 78074][Wis] Changed - HtmlTextArea Output different from CLR

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Apr 11 03:32:36 EDT 2006


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 gonzalo at ximian.com.

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

--- shadow/78074	2006-04-11 01:25:05.000000000 -0400
+++ shadow/78074.tmp.19062	2006-04-11 03:32:36.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78074
 Product: Mono: Class Libraries
 Version: 1.0
 OS: GNU/Linux [Other]
 OS Details: Fedora Core 5
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Wishlist
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: mjsabby at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -49,6 +49,38 @@
 
 
 How often does this happen? 
 
 
 Additional Information:
+
+------- Additional Comments From gonzalo at ximian.com  2006-04-11 03:32 -------
+I just tried this on mono and MS:
+----------
+<%@ language="c#" %>
+<html>
+<script runat="server">
+        void Page_Load (object sender, EventArgs e)
+        {
+                 //myTA.InnerText = "Hi there!\nCool!";
+                 myTA.Value = "<hola>something</hola>";
+        }
+</script>
+<head>
+<title>HtmlTextArea</title>
+</head>
+<body>
+<form runat="server">
+<textarea id="myTA" cols=25 rows=5 runat="server" />
+</form>
+</body>
+</html>
+------------
+
+And the textarea has:
+<textarea name="myTA" id="myTA" cols="25"
+rows="5"><hola>something</hola></textarea>
+
+for both.
+
+If you want that to be HtmlEncoded, you have to use the InnerText
+property.


More information about the mono-bugs mailing list