Hi there,
I have the following information in a paragraph, need to send this information in the email body.
in the "send email" smart service, tried this: substitute(tostring(pv!newComments), "cha(10)", "<br>"), it does not work, all the informaiton are in one line in the email body.
could anyone know how to do it?
thanks.
L
Discussion posts and replies are publicly visible
Try
substitute(tostring(pv!newComments), char(10), "<br/>"),
Just copied your code. Are you sure you need that tostring() call?
thanks, it works, and removed the rostring function
Hi Stefan/Harshit,
In the similar line, I do have requirement to display html body in the Rich Text Editor Component .However the Rich Text Editor Component not supporting the style tag. So i would like to remove the <style>Any Text</style>.Please find below example:
Sample:
<html> <head> <title>Sample Page</title> <style> body { background-color: lightblue; } </style> </head> <body> <p>This is a sample page.</p> </body> </html>
Expected Output:
<html> <head> <title>Sample Page</title> </head> <body> <p>This is a sample page.</p> </body> </html>
Can you please help me out remove the <style> </style> code without using the regex functions.
Thanks!!
Why "without using the regex function"?
I would not try to display random HTML content using the rich text editor. Just out of security considerations.