Quote from: Dimmy at Jul 08, 2010, 05:18 AM
[!mySnippet? &sendString=`[*MyTemplateVar*]`!]
this should work
first the tv is pared and then its used in the snippet call.
That’s my original code in the post above

The HTML entities values are not being returned properly.
My [*MyTemplateVar*] has the content: " Some bad ! @ #* $( %) & and some more < > ";
Then all [!mySnippet!] does is take the values and return them with html entities
$output = "";
function htmlEncode($sendString){
$newVar = htmlentities($sendString);
return $newVar;
}
$output = htmlEncode($sendString);
return $output