Hello @Rut7 ,
How do you print this code? Is it with <%= xyz %>?
This will HTML encode your code, and also your variable is wrongly formatted, which should throw an error, as you need to escape double quotes.
To prevent it from escaping HTML, you need to use document.write I do not know if that works inside delivery. I am sure it works in webapp:
<%
var xyz= '<style="font-size: 14px; color:#762A91;">•</style> Output text <br><br>';
//i have replaced " with ' or you need to escape " with \" when the string is surrounded with ""
document.write(xyz);
%>
Marcel Szimonisz
MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/