jQuery issue


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

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

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.