1.3.1: error with custom attribute selection

1.3.1: error with custom attribute selection


Hi,
since 1.3.1, firebug throws an error when doing a specific selector,
that was working up to 1.3
Erreur : [Exception... "'Syntax error, unrecognized expression:
sortby=""]' when calling method: [nsIDOMEventListener::handleEvent]"
nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location:
"<unknown>" data: no]
the selector is:
var $thisLI = $('ul > li[sortby="' + UI.sortby + '"]');
the error happens only once, apparently when UI.sortby is an empty
string. so the selector become $('ul > li[sortby=""]'); and that
throws the error.
I'm not sure if this is actually normal or a bug, let me know if you
need more info...
If it helps, the markup is:
<li sortby="designParadigm"><a
href="http://localhost/lab-au.com/prototype/lab-au/">design
paradigm</a>
<ul class="level3">
<li filterby="concepts"><a
href="http://localhost/lab-au.com/prototype/lab-au/by_designParadigm.concepts.html#datascape">concepts</a></li>
<li filterby="methods"><a
href="http://localhost/lab-au.com/prototype/lab-au/by_designParadigm.methods.html#datascape">methods</a></li>
<li filterby="statements"><a
href="http://localhost/lab-au.com/prototype/lab-au/by_designParadigm.statements.html#datascape">statements</a></li>
</ul>
</li>
Cheers
Alexandre