I'm using a custom button on the TinyMCE editor on my wordpress site to insert a list of urls without having to type the markup. The problem is that TinyMCE automatically removes the urls that do not have a link text. For example, if the custom button is programmed to insert
<a href="http://example.com"></a>
well, nothing is inserted.
But if I make the button insert
<a href="http://example.com">Example.com</a>
it works. I do not want a link text as I need an image link by using background image sprite instead of by using html img tag.
Is there any way I could prevent tinymce stripping links that have no link text?