andris9/mailcomposer — pull request #29 by illicium (2013-10-04 20:56:08+00:00)
Title: Use cheerio to parse/patch HTML in _convertImagesToInline; data-filename

Instead of using regexes to parse and edit HTML, use a DOM parser that
works a bit better (e.g. HTML entities are converted)

Also add support for an optional `data-filename` attribute so that
the image attachment filename can be renamed -- useful if the image
has a long or non-semantic filename.