I've seen that the document library web part (or was it quick links?)
doesn't escape apostrophe's correctly. Because of this, the resulting
HTML that is fed to the user's browser has a bare apostrophe, and it
does something to javascript or something such that the page draws in IE
with an error.
I don't think it's specific to PDF.