[Seaside] Re: how do you not encode text?

Lukas Renggli renggli at gmail.com
Sun Jan 3 09:05:12 UTC 2010


For the record, it is

    html html: '<img src="http://example.com">'

Lukas

2010/1/3 Sean Allen <sean at monkeysnatchbanana.com>:
> ramon kindly answered on twitter.
>
> canvas html
>
> sometimes i'm amazed by the simple little seaside things i don't know.
> and managed to miss when browsing the class.
>
> On Sun, Jan 3, 2010 at 1:33 AM, Sean Allen <sean at monkeysnatchbanana.com> wrote:
>> seaside 3:
>>
>> i have text, that is an html snippet that needs to be inserted onto
>> the canvas as is, like:
>>
>> <img src="http://example.com">
>>
>> but if you just do
>>
>> canvas render: '<img src="http://example.com">'
>>
>> it encodes the < and >.
>>
>> how can i turn off encoding?
>>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list