Title: HTML Stripping Issue
Last modified: August 22, 2016

---

# HTML Stripping Issue

 *  Resolved [SpotlightWeb](https://wordpress.org/support/users/spotlightweb/)
 * (@spotlightweb)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/html-stripping-issue/)
 * Hello,
 * Just a minor issue. When adding a rel attribute tag to an image in the Text view
   it stays when saved. When switching from Text To Visual Editor the rel tag is
   removed. This is only happening on the <img> tag. I am posting as Administrator
   if that helps. Any thoughts on what could be causing it or how I can remedy it?
 * [https://wordpress.org/plugins/tinymce-advanced/](https://wordpress.org/plugins/tinymce-advanced/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/html-stripping-issue/#post-5613047)
 * You mean `rel` attribute in an `<img>` tag? This is not valid HTML, as far as
   I know `rel` is only for links. That’s probably why TinyMCE strips it.
 *  Thread Starter [SpotlightWeb](https://wordpress.org/support/users/spotlightweb/)
 * (@spotlightweb)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/html-stripping-issue/#post-5613076)
 * Andrew,
 * You are spot on correct. I have accounted for it. I normally would not use it
   but have it applied for an image hover effect I am using.
 * Thanks as always for a fantastic plugin and amazing support!!!
 *  Plugin Author [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/html-stripping-issue/#post-5613283)
 * Thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML Stripping Issue’ is closed to new replies.

 * ![](https://ps.w.org/tinymce-advanced/assets/icon-256x256.png?rev=971511)
 * [Advanced Editor Tools](https://wordpress.org/plugins/tinymce-advanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tinymce-advanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tinymce-advanced/)
 * [Active Topics](https://wordpress.org/support/plugin/tinymce-advanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tinymce-advanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tinymce-advanced/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/html-stripping-issue/#post-5613283)
 * Status: resolved