Ever since #417, both the text and html content of messages are stored in the markup. Unfortunately, visual.messagesToText blindly runs .text() on that markup, and ends up with both.
In fact, the function could probably be pared down a bit. The only messages with no plaintext body will be internal ones - and the links in those shouldn't be printed anyway.
Ever since #417, both the text and html content of messages are stored in the markup. Unfortunately,
visual.messagesToText
blindly runs.text()
on that markup, and ends up with both.In fact, the function could probably be pared down a bit. The only messages with no plaintext body will be internal ones - and the links in those shouldn't be printed anyway.