Hey Guys,
I'm wondering what is the correct way to write a function that extends volt that returns html.
I've tried:
$compiler->addFunction( "latestFeed", function ($resolvedArgs, $exprArgs) use ($compiler) { return "<div>Yo</div>"; });
But it always errors with a parser error: Parse error: syntax error, unexpected '<'
Cheers, Ben