Forum Discussion
TariqHussain
8 years agoBoss
jaread83 - There is no alternative context object which is mentioned in the documentation. However, as a workaround, you can remove all the HTML using velocity method.
Can you give a try to below two methods.
${note.getBody().replace("</?[^>]+/?>", "")}${note.getBody().replaceAll("</?[^>]+/?>", "")}I found this from here.
Sign in to react to this post
jaread83
8 years agoChampion
Hi Tariq, good to see you!
I will certainly give that a try :) Using regex seems like an elegant solution!
I don't know why there wouldn't be a text only alternative to the body message as part of the system. I might need to raise a product idea about it.
I will certainly give that a try :) Using regex seems like an elegant solution!
I don't know why there wouldn't be a text only alternative to the body message as part of the system. I might need to raise a product idea about it.
Sign in to react to this post