By default the tablesorter code uses some algorithm(s) to try and
'figure out' where the text starts. So it skips HTML entities (maybe
not all, but some).

Take a look at the textExtraction methods that are built into the code
and you'll see what I'm talking about.

On Sep 5, 9:54 am, MorningZ <[EMAIL PROTECTED]> wrote:
> that doesn't sound right
>
> because anything inside the <td></td> tag would be treated as text
> *unless* the built in parsers couldn't figure out what to do with them
> (or a custom parser was defined)
>
> so the columns could be like
>
> <td>A</td><td><input type="checkbox" checked="checked" /></td>
> <td>B</td><td><input type="checkbox" /></td>
> <td>C</td><td><input type="checkbox" /></td>
> <td>D</td><td><input type="checkbox" checked="checked" /></td>
> <td>E</td><td><input type="checkbox" checked="checked" /></td>
>
> and it would sort
>
> <td>B</td><td><input type="checkbox" /></td>
> <td>C</td><td><input type="checkbox" /></td>
> <td>A</td><td><input type="checkbox" checked="checked" /></td>
> <td>D</td><td><input type="checkbox" checked="checked" /></td>
> <td>E</td><td><input type="checkbox" checked="checked" /></td>
>
> because
>
> "<input type="checkbox" />"
>
> comes before
>
> "<input type="checkbox" checked="checked" />"

Reply via email to