Hi,
here is a 6.0 macro example:
switch (e.Expression.ToLower())
{
case "someexpression":
e.Match = true;
e.Result = "<b>bold text </b>";
break;
}
If you call above macro using {% ProcessCustomMacro("someexpression", "") %} in for example properties of repeater you will get the output:
bold textIn case you will call it using {% ProcessCustomMacro("someexpression", "|(encode)true") %} the output will be:
<b>bold text </b>
It means that you can change the output using the (encode) parameter.
Best regards,
Ivana Tomanickova