uncaught exception: Syntax error, unrecognized expression: >

uncaught exception: Syntax error, unrecognized expression: >

Hello,

i've recently upgraded a project from jquery 1.2.x to 1.4.2 and jquery-ui 1.5 to 1.8. Now i have problems with tabs. The tabs aren't rendered, instead i get this error in Firebug:

  1. uncaught exception: Syntax error, unrecognized expression: >

It is raised by the following line:

  1. $("#html-template-editor-module").prev("<ul>")
        .append("<li><a href='#foo'><span>Foo</span></a></li>")
        .append("<li><a href='#bar'><span>Bar</span></a></li>")
        .tabs();




Since there's no such expression in the code i'm wondering what's going wrong.