Media module is bring contextual links with it into the middle of WYSIWYG content - how to remove? Is there anyway to remove these links from the output of the media module? I suspect that they're responsible for breaking the link tag I have wrapped around the Media image in the WYSIWYG editor.

On the rendered template of the page this looks like



How can I prevent these links from being embedded by the media module? They even appear to show when I am not logged into the Drupal administration too.
You'll have to change the sort order of filtering within your text format, admin/config/content/formats/full_html (for Full HTML text format).
Just place the "Convert media tags into markup" before the "CKeditor Link filter".