jQuery issue

$('<a>', {
                class: 'prev page-numbers',
                href: '#',
                text: '&laquo;',
                click: function () {

Unfortunately, the text displays as « not <<
it automatically converts & to & and I don’t want it to…

Have you considered using the actual characters?

I have but, << does not display the same as «

Make new html file.
Put « in it.
View html page in browser.
copy paste.