View Single Post
Old 07-18-2018, 06:41 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Phssthpok View Post
I'm still puzzled about losing the first letter of the title with a backslash-escaped space though...
This happens because of the order of evaluation. First the individual templates are evaluated. In your case the first template will end with a \ because the space is stripped. The results are then concatenated. It seems that the title in your example begins with an R. If we assume the title is Ringworld then the result is
Code:
✓\Ringworld
The sequence \R is a carriage return, which gets converted by the output function to a space, resulting in
Code:
✓ ingworld
Other characters would behave differently, perhaps disappearing or perhaps generating some other output.

FWIW: backslashes in Single Function Mode can have strange behavior. Sometimes they are really escapes and sometimes they aren't. You should avoid them or use one of the other modes instead.
chaley is offline   Reply With Quote