galetahub/ckeditor — pull request #82 by Katen (2012-02-03 12:35:19+00:00)
Title: Workaround the "javascript:void#numberhere" attachment link

So this is how I got around it. It's probably not usable in its current form, but maybe it'll help you or somebody.

Note : the second is there to fix an issue which double the "http://" prefix on attachments. Same here, I don't know if it's good in its current form.