[Seaside] HTML Encoding change -- why?

Nevin Pratt nevin at bountifulbaby.com
Tue Feb 14 20:29:12 UTC 2006


Ah, I see.  Thanks, Jason.

Of course, this breaks backwards compatibility.  But it is a minor 
change (among the handful of other changes in Seaside 2.5 that effect 
backwards compatibility).

No big deal, though.

Nevin

>If you want to write your own HTML you should send the #html: message.
>
>On 2/14/06, Nevin Pratt <nevin at bountifulbaby.com> wrote:
>  
>
>>In Seaside 2.3, I developed a rather sloppy habit of occasionally typing
>>html directly in the #text: or #bold: argument.  Here is an example:
>>
>>   html text: '<br>This is an example'.
>>
>>rather than
>>
>>   html break.
>>   html text: 'This is an example'.
>>
>>Sometimes as I typed, the html would just kind of roll off my fingers,
>>and I would take the above shortcut rather than typing separate lines.
>>
>>But, in Seaside 2.5, this no longer works.  Instead, a text argument
>>like the above will be transformed into:
>>
>>   '&lt;br&gt;This is an example'
>>
>>Which isn't what I expected.  If I had wanted '&lt;' and '&gt;', I would
>>have typed it.
>>
>>Well, I guess I can see value in the automatic transformation, but I can
>>also see value in *not* transforming it.
>>
>>Is there a thread somewhere that talks about the pros and cons of making
>>this change?  What was the rationale for making the change?
>>
>>Nevin
>>
>>_______________________________________________
>>Seaside mailing list
>>Seaside at lists.squeakfoundation.org
>>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>    
>>
>
>
>--
>Jason Rogers
>
>"Where there is no vision, the people perish..."
>    Proverbs 29:18
>_______________________________________________
>Seaside mailing list
>Seaside at lists.squeakfoundation.org
>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liststest.squeakfoundation.org/pipermail/seaside/attachments/20060214/30f62d4a/attachment.html


More information about the Seaside mailing list