Broken javascript

Both Weaver's Web and Tamshi's Imp breaks the javascript to advertise the books we are subscribed to on our website. The javascript provided to users is: [script language="javascript" src="http://www.podiobooks.com/jspb/[username]" type="text/javascript"]

Putting the javascript on a page causes a javascript error, and the script will not load. The problem actually arises from the use of apostrophes in the name.

I'm not sure how podiobooks generates the script, but maybe placing an escape character or removing the apostrophe from the database may fix this problem.

Here's the error code from Internet Explorer for mine:
Line: 8
Char: 134
Error: Expected ")"
Code: 0
URL: [hidden]

This coincides with Tamshi's Imp

[Edited javascript to make it visible]
 
indifferent I’m indifferent
Inappropriate?
2 people have this problem
User_default_medium