[Mono-devel-list] InnerHtml Bug? Lower-case 's' becomes upper-case 'S'

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Feb 23 09:48:24 EST 2004


El lun, 23-02-2004 a las 14:38, Gustav Schauwecker escribió:
> The behaviour of HtmlContainerControl.InnerHtml doesn't make sense to me: 
> Every occurance of the string "</s" gets convertet to "</S"
> 
> Here is an example:
> 
> <html>
> <script language="C#" runat="server">
> 	void Page_Load (object sender, EventArgs e)
> 	{
> 		test.InnerHtml="<strong>test</strong>";
> 	}
> 
> </script>
> <body>
> <span id="test" runat="server" />
> </body>
> </html>
> 
> the resulting InnerHtml is: <strong>test</Strong>
> Is this the correct behaviour? Should I make a bug report?
> It only applies to the string "</s" and it only applies to aspx-Pages

Weird. If you have time, please, file a bug report (I may get to this
bug before you file it ;-).

-Gonzalo





More information about the Mono-devel-list mailing list