[Mono-dev] Turn off encoding on WriteAttribute in 1.2.5?

John Anderson sontek at gmail.com
Fri Aug 31 03:56:06 EDT 2007


On 8/31/07, Curtis Wensley <eto at shaw.ca> wrote:
>
> Hi,
>
> Is there any way to turn off the Html encoding in
> HtmlTextWriter.WriteAttribute in 1.2.5?  It seems to be encoding
> everything, were as MS.NET does not.
>
> We went through great pains to encode all output of our system, and
> now it's double-encoding the attributes using this method.  Perhaps
> there's a way to turn this off in Web.config, or should I file a bug?


There is an overload that says to encode or not, pass false to it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070831/2badf257/attachment.html 


More information about the Mono-devel-list mailing list