In HTML emails KMail escapes ampersands, i.e., replaces them with "&" in link URLs and breaks these links. For instance: <a href="mailto:abc@domain.com?subject=Email&body=ABC123">Send email</a> becomes <a href="mailto:abc@domain.com?subject=Email&body=ABC123">Send email</a> In this particular case clicking on the link will create a new email with subject "Email", but the body will not contain "ABC123" as it should.
Problem occurs both in Debian 9 stable (stretch) and in Arch Linux using 5.6.2.
Git commit 2ed33b9fcd46334b4c7867a2f3a9e34e57282e8d by Montel Laurent. Committed on 31/10/2017 at 07:08. Pushed by mlaurent into branch 'Applications/17.08'. Fix Bug 386368 - Links in HTML emails broken by escaped ampersands FIXED-IN: 5.6.3 M +7 -0 templateparser/src/templateparserjob.cpp https://commits.kde.org/messagelib/2ed33b9fcd46334b4c7867a2f3a9e34e57282e8d