Quote:
Originally Posted by chaley
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}
|
Aha! Thank you very much, problem solved! (I didn't see anything in TFM about template results being trimmed...?)
I'm still puzzled about losing the first letter of the title with a backslash-escaped space though...