I'm setting document.title
with JavaScript, and I can't find a way to supply » (»
) without it appearing as literal text.
Here's my code:
document.title = 'Home » site.com';
If I use » ; in the title tag of the document it works great and displays correctly as », but it seems to be unescaping when I include it in document.title
.
Any ideas?
thanks!