[Proto-Scripty] Re: Element.cleanWhitespace not recursive?

2011-05-10 Thread T.J. Crowder
On May 10, 8:47 am, Bertilo Wennergren wrote: > On Mon, May 9, 2011 at 15:12, sclaflin wrote: > > 1. I don't see any reason for the element = $(element) line, other > > than possibly for the return value; > > It's probably there to cater for MSIE. > > -- > Bertilo Wennergren > berti...@gmail.comh

[Proto-Scripty] Re: Element.cleanWhitespace not recursive?

2011-05-10 Thread sclaflin
On May 10, 7:22 am, "T.J. Crowder" wrote: > On May 10, 8:47 am, Bertilo Wennergren wrote: > > > On Mon, May 9, 2011 at 15:12, sclaflin wrote: > > > 1. I don't see any reason for the element = $(element) line, other > > > than possibly for the return value; > > > It's probably there to cater for

[Proto-Scripty] Re: Element.cleanWhitespace not recursive?

2011-09-02 Thread Victor
cleanWhitespace should not be recursive, at least for inline elements. E.g. for HTML fragment the space user will see output * thespace* (single word) instead of *the space* (two distinct space-separated words), which isn't correct. -- You received this message because you are subscribed to the