Is this new?
Because when I use the new 2.4.0 for this unit test:
{{[String.Append] \"foo\" ([String.Append] \"a\" \"b\")}}
When parsing the arguments, I get a SafeString with value ab, however the SafeString is internal, so I cannot process it.
My Append method is like:
[HandlebarsWriter(WriterType.String)]
public string Append(string value, string append)
{
if (string.IsNullOrEmpty(value))
{
return append;
}
if (string.IsNullOrEmpty(append))
{
return value;
}
return value + append;
}
Is this new?
Because when I use the new 2.4.0 for this unit test:
When parsing the arguments, I get a SafeString with value
ab, however the SafeString is internal, so I cannot process it.My Append method is like: