refinery/refinerycms — pull request #2019 by daveharris (2012-11-12 00:26:49+00:00)
Title: Remove invalid rel attribute from <img> tag

Hi,
Can we please remove the `rel` attribute from `` tags as it produces invalid html.

Currently it produces html like:
```html

```

This is invalid html according http://validator.w3.org/, see our page at http://validator.w3.org/check?uri=http%3A%2F%2Fbeta.n%20atlib.govt.nz

According to http://dev.w3.org/html5/spec-author-view/the-img-element.html#the-img-element the only valid attributes are the [global attributes](http://dev.w3.org/html5/spec/single-page.html#global-attributes) and:
* alt
* src
* crossorigin
* usemap
* ismap
* width
* height

Tested this locally and it works fine, specs are passing with no changes. I wasn't sure what I needed to do to in terms of testing as I had just removed an attribute, but if you could point me in the right direction I could add them if necessary.

Dave