On 4/5/23 07:39, Andreas Schamanek wrote:
The function that handles it is escapeemaillinks() in templatetags/hk_generic.py (at line 111 in my version).
Adding
.replace("&","&")
to the return value fixes the rendering of email addresses (at least for me).
escapeemaillinks(text) searches text for strings like
<a href="mailto:user@example.com>xxx</a>
and replaces them with
user(a)example.com
thus replacing everything from <a href=
through </a>
with just the
email address with @
replaced by (a)
However, text is the whole message body, so what you are doing is just
replacing &
with &
in the message body, but only when
escapeemaillinks(text) is invoked.
Also, this is all changed in HyperKitty 1.3.5 with the addition of optional markdown rendering.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan