Sorry Aurora, but I don't understand what you mean
Do you mean to using core:set without the parameter escapeText?
For setting values I tried with escapeText true and false but theoretically only espaceText=0 (XML) is required because the default value is 1(Text).
For displaying the variable i use something like that:
<gel:email ....>
<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML><HEAD/><BODY>]]>
${var_mystring1}
<![CDATA[ </BODY></HTML>]]>
</gel:email>
To sum up, I want to load a variable in a foreach, add formatting html (frand send this string containing html and text in a html formatted email. I tried the following in many different ways, and always without success
<core:forEach begin="0" items="${output.rows}" var="..">
...
<core:set var="var_mystring1"> ${var_mystring1} <br> ${vfield1} </br> </core:set>
</core:forEach>
BTW, I just discovered that there is also a parameter "encode" which i didn't try.
<core:set encode="1"> encodes "<" and ">" as "<" and ">" but also i got it with escapeText, the problem is that from sending email this escaped html was not interpreted.
GEL Tag Library Reference