fphilipe/premailer-rails3 — pull request #25 by welldan97 (2012-03-15 16:58:53+00:00)
Title: Fixes #21

Hello Philipe,

I've made a quick fix for #21 bug. This workes for me, although I feel there can be situations with complex nested multipart hierarchies where it won't work. Anyway take a look at pull request please

Also in this tree, the root node can be "multipart/related" (for inline attachments):

+ multipart/mixed
|
+--+ attachment
|
+--+ multipart/alternative
|
+--+ text/html
|
+--+ text/plain

Regards,
Dmitry