Gareth Cantrell Posted November 16, 2023 Posted November 16, 2023 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.
Steve Giller Posted November 21, 2023 Posted November 21, 2023 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.
Gareth Cantrell Posted November 21, 2023 Author Posted November 21, 2023 @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}}
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now