Answers.Body: <ol>
  <li><p>Make sure you're on the latest release.  In <a href="http://buildwithcraft.com/updates#build2670" rel="nofollow">2.4.2670</a>, we updated Redactor to the latest so that might have fixed some bugs.</p></li>
  <li><p>I can't reproduce what you're seeing. The modal that comes up from the Redactor edit image button doesn't have an "alt" field, so I'm not sure where you're seeing that.</p></li>
  <li><p>If view source and manually add the alt tag, it behaves as expected no matter how many times I save/edit the entry.</p></li>
  <li><p>Bug reports are better off <a href="http://feedback.buildwithcraft.com/forums/285224-bugs" rel="nofollow">here</a>. :)</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-19T18:38:03.177Z
Answers.LastActivityDate: 2015-06-19T18:38:03.177Z
Answers.UserDisplayName: Brad Bell
Body: <p>Craft 2.4. Unusual bug. Adding an alt tag to an image within a rich text field via its Edit button, that's in a matrix, works just fine the first time the entry is saved. However, re-saving the entry breaks the code to the image.</p>
  
  <p>This:</p>
  
  <p>img alt="test" src="/resources/images/someimage.png#asset:1844:url"</p>
  
  <p>Becomes this:</p>
  
  <p>img alt="test" resources="" images="" someimage.png#asset:1844:url"=""</p>
  
Tags: <matrix><image><richtext>
Title: Adding alt tag to image in a rich text field via its Edit button, within a matrix - breaks code link to the image
ThreadText: # Adding alt tag to image in a rich text field via its Edit button, within a matrix - breaks code link to the image
  
  (Asked by: username_0 on 2015-06-19)
  
  Craft 2.4. Unusual bug. Adding an alt tag to an image within a rich text field via its Edit button, that's in a matrix, works just fine the first time the entry is saved. However, re-saving the entry breaks the code to the image.
  
  This:
  
  img alt="test" src="/resources/images/someimage.png#asset:1844:url"
  
  Becomes this:
  
  img alt="test" resources="" images="" someimage.png#asset:1844:url"=""
  
  **Tags:** matrix, image, richtext
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-06-19. Score: 2
  
  1. Make sure you're on the latest release. In [2.4.2670](http://buildwithcraft.com/updates#build2670), we updated Redactor to the latest so that might have fixed some bugs.
  2. I can't reproduce what you're seeing. The modal that comes up from the Redactor edit image button doesn't have an "alt" field, so I'm not sure where you're seeing that.
  3. If view source and manually add the alt tag, it behaves as expected no matter how many times I save/edit the entry.
  4. Bug reports are better off [here](http://feedback.buildwithcraft.com/forums/285224-bugs). :)
  
  
  ---
  
  