When inserting notes or comments from a DocType in a Slack Notification, the HMTL identifiers such as <.div> and <./div> also get pulled into the notification (added the points to make the identifiers visible).
Is there a way around this?
This is the reference I use to get the notes: {{ doc.notes }}
We are also facing this issue,. We are currently using slack apps for getting notifications when issue doctypes are created. The description field which is of field type “Text-editor” in Issue is coming with html tags. For e.g. the field description in slack channel in one particular issue is as attachment
Cool. We also using internally, but just trying to decrease the effort on our team while reading notifications. Lets see if anyone else can suggest or someone could fix it up.
In this case we are just passing the description in Jinja format as below. The formatting I believe is in built in Description field which is of type “text-editor” as I mentioned below and probably the issue. Below is code we are using in notification as per standard slack notification format. Should we pass on the doc.description field in a different way ?
Case Number : {{ doc.name }}
Created Date : {{ doc.opening_date }}