encode issues for non_html

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

encode issues for non_html

rshiple

String

>>encodeOn: aDocument
aDocument htmlEncoder nextPutAll: self


WAEmail

>>encodeOn: aDocument
self encodeOn: aDocument htmlEncoder usingQuotes: false


"Could we get by with

  >>markupEncoder 

?

"


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: encode issues for non_html

Julian Fitzell-2
Arguably, the name #encodeOn: is equally problematic. Or at least, the implementors should probably dispatch back to the Document or to something since the encoding could well depend on the type of Document and the object being encoded?

Julian

On Fri, Sep 18, 2009 at 12:50 AM, Robert Shiplett <[hidden email]> wrote:

String

>>encodeOn: aDocument
aDocument htmlEncoder nextPutAll: self


WAEmail

>>encodeOn: aDocument
self encodeOn: aDocument htmlEncoder usingQuotes: false


"Could we get by with

  >>markupEncoder 

?

"


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside