Automatically include `mailto` tag for admin contact in HTML contexts
Closed this issue · 2 comments
alexander-bauer commented
Currently, in order for an admin contact to display with a mailto:
link, the HTML needs to be included in the field itself. This should be done automatically in HTML contexts, and not in plaintext ones.
lukevers commented
Do we not do this already?
alexander-bauer commented
No, we don't escape the HTML, so it's possible to include actual HTML
mailto tags in the config, but then they render confusingly in
plaintext contexts. We should make that automatic, so that they look
like plaintext in plaintext contexts, and is converted to usable HTML
(with a mailto tag) automatically.