NO BUG: {echo} tag deleting spaces

Browser: Any
OS: Windows

If you try to write a custom function, for example:

function my_function($text) {
	return $text;
}

and then use it inside {echo} tag it works fine with regular text, but if I try to pass another dd tag as argument (example {post_title}), I got ‘Examplepage’ instead of ‘Example page’.

Hi @Illarion ,

Please set quotes

{echo:my_function('{post_title}')}

Regards,
Jenn

1 Like