21 April 2021 (In calibre version 5.17)
- Add the function "character('character_name')" that returns the special character named by character_name. For example, character('newline') returns a newline character ('\n'). The function can be used with strcat() to create multiline and tab-aligned output. The supported character names are 'newline', 'return', 'tab', and 'backslash'. The argument to character() can be an expression that returns the character name.
- Show special characters in the template editor & debugger as escape sequences, e.g., a newline is displayed as \n.
- Performance improvements in the template language parser.