k9mail/k-9 — pull request #218 by justdave (2012-12-18 14:31:32+00:00)
Title: Fix issue 4771 - work around > getting included in URLs when linkifying text/plain emails

> is valid within links, so when we replace > with > at the begining of the text-to-html conversion, it gets included in URLs when linkified. Converting > to > after linkifying would break the HTML tags, though. Instead, replace > with >@#gt#@< on the frist pass, then do a search/replace on that to change it back to > after the linkification is done.

This intermediate replacement token really should be something guaranteed not to occur in a text/plain email, but I'm at a loss for what else to use that fits the bill.