Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
You seem to have an escaping bug in this script. The line that reads: e.innerHTML='<br/>'+is[i].title; should instead read: e.appendChild(document.createElement('br'));
e.appendChild(document.createTextNode(is[i].title));
That way, it'll work correctly even if the comic title happens to contain HTML tags (which, xkcd being xkcd, wouldn't surprise me at all). |