Answers.Body: <p>Looks like this was a Redactor bug they fixed back in <a href="http://imperavi.com/redactor/log" rel="nofollow">10.1</a>.</p>
  
  <p>The latest version of Craft (<a href="http://buildwithcraft.com/updates#build2684" rel="nofollow">2.4.2684</a>) is currently running Redactor 10.2.2, so make sure you're Craft installation is up-to-date.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-24T17:40:25.687Z
Answers.LastActivityDate: 2015-08-24T17:40:25.687Z
Answers.UserDisplayName: Brad Bell
Body: <p>It looks like redactor is adding a rel attribute to images as they are added to content via the RTE. Removing the rel attribute and then switching views adds it back in again.</p>
  
  <p>How can I remove the rel attribute as it's affecting validation: <a href="https://validator.w3.org/nu/?doc=http%3A%2F%2Fgrowthwise.com.au%2Fnews%2F2015%2Fgetting-organised-for-tax-sucks-is-there-an-easier-way" rel="nofollow noreferrer">https://validator.w3.org/nu/?doc=http%3A%2F%2Fgrowthwise.com.au%2Fnews%2F2015%2Fgetting-organised-for-tax-sucks-is-there-an-easier-way</a></p>
  
  <p><a href="https://i.sstatic.net/jcLNS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/jcLNS.png" alt="WYSIWYG View"></a></p>
  
  <p><a href="https://i.sstatic.net/eqy1b.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/eqy1b.png" alt="Source View"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-24T07:27:32.953Z
Comments.Text: Might be a redactor bug, looking at the log, they had thought to fix it in v10.1 : http://d.pr/i/u5fo
Comments.UserDisplayName: Luke Holder
Tags: <redactor><richtext>
Title: Why is craft adding a rel attribute with inline styles in my textarea?
ThreadText: # Why is craft adding a rel attribute with inline styles in my textarea?
  
  (Asked by: username_0 on 2015-08-24)
  
  It looks like redactor is adding a rel attribute to images as they are added to content via the RTE. Removing the rel attribute and then switching views adds it back in again.
  
  How can I remove the rel attribute as it's affecting validation: <https://validator.w3.org/nu/?doc=http%3A%2F%2Fgrowthwise.com.au%2Fnews%2F2015%2Fgetting-organised-for-tax-sucks-is-there-an-easier-way>
  
  [![WYSIWYG View](https://i.sstatic.net/jcLNS.png)](https://i.sstatic.net/jcLNS.png)
  
  [![Source View](https://i.sstatic.net/eqy1b.png)](https://i.sstatic.net/eqy1b.png)
  
  **Tags:** redactor, richtext
  
  > **Comments:**
  > **username_1**: Might be a redactor bug, looking at the log, they had thought to fix it in v10.1 : http://d.pr/i/u5fo  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-08-24. Score: 3 | Accepted answer
  
  Looks like this was a Redactor bug they fixed back in [10.1](http://imperavi.com/redactor/log).
  
  The latest version of Craft ([2.4.2684](http://buildwithcraft.com/updates#build2684)) is currently running Redactor 10.2.2, so make sure you're Craft installation is up-to-date.
  
  
  ---
  
  