HTML: rework the HTMLification of the plaintext mails
commit0099cf69960c0f23c51c5d5235b58462c383a9f8
authorJan Kundrát <jkt@flaska.net>
Tue, 8 Jan 2013 19:43:59 +0000 (8 20:43 +0100)
committerJan Kundrát <jkt@flaska.net>
Tue, 8 Jan 2013 19:43:59 +0000 (8 20:43 +0100)
tree375c4f5a087662efc6a79466cee0fbfa145145f3
parent9b07cfb9bdfeb63d2141111d4d12187c5ef31d21
HTML: rework the HTMLification of the plaintext mails

- Support a fe more characters in the URLs (like parentheses, square brackets and stars)
- Prevent recursive matches where the href attribute would get clobbered by *bold* recognition
- Support HTTP URLs which embed e-mail addresses

There's always an upper bound on what we can do, though -- this code will break
on URLs like *http://example/*checkout*/foo*, of course. Sorry, there isn't much
to be done here.
src/Composer/PlainTextFormatter.cpp
tests/tests/test_Composer_responses/test_Composer_responses.cpp