Jump to content

Add links to the |wiki modifier in email templates


Gareth Cantrell

Recommended Posts

Could we please ask that links be added to the |wiki modifier in email templates.

For example, when raising linked requests, in certain cases we add the linked request as a link in the description using wiki markup e.g.: [[https://live.hornbill.com/...|SR00009999]] and this works fine in the request view.

However, when rendered in the email notification, even with the |wiki modifier, it shows the markup rather than the rendered link.

Link to comment
Share on other sites

I believe the issue here is that while the Request Timeline uses wiki markup, emails use HTML for formatting.

When sending emails from the email Action on the Request (or updating the Request from an incoming email) it is the plain-text portion of the email that updates the Timeline. If that happens to contain wiki markup this will render as formatted.

Link to comment
Share on other sites

@Steve Giller I was wondering specifically about the modifiers available in email templates.

In the docs is states: 

  • {{.h_firstname|wiki}} = Allows HTML output from a template variable that contains wiki markup, Currently only basic formatting (Bold, Italic, Ordered & Unordered lists) are supported.

Having links rendered would help when using a variable in the template such as: {{.h_description|wiki}} 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...