xing/wysihtml5 — pull request #61 by ejholmes (2012-05-11 17:04:42+00:00)
Title: Support custom attributes on image tags.

I had the need to set custom attributes on image tags, but my custom attributes weren't being persisted. This fixes the issue and allows you to set an attribute like `data-max-width` on image tags. Then I can setup my parser rule like so:

``` javascript
"img": {
"check_attributes": {
"width": "numbers",
"alt": "alt",
"src": "url",
"height": "numbers",
"data-max-width": "numbers"
},
"add_class": {
"align": "align_img"
}
}
```