Quote:
Originally Posted by Phssthpok
Can anyone explain what is going on here, and how I can get both a space and the first character of the title to appear?
|
Leading and trailing spaces in the result of a template expression are stripped (removed) before that result is further processed. That is one reason the prefix and suffix options exist -- they are applied if the result is non-empty after being stripped, and without further stripping.
Use
Code:
{rating:contains(5,✓,)|| }{title}
@davidfor: he is using
Single Function Mode, which doesn't use quoting. This can lead to ambiguities, which is why I prefer Template Program Mode or General Program Mode, depending on the task.