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
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
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