Edgewall Software

Changes between Version 49 and Version 50 of TracDev/PortingFromGenshiToJinja


Ignore:
Timestamp:
Mar 14, 2024, 10:17:36 AM (5 weeks ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PortingFromGenshiToJinja

    v49 v50  
    10131013
    10141014 - when you need to output a plain "#" character at the beginning of a line, this will be parsed as a line statement; the trick here is to use an empty inline comment as a prefix: `{##}# ...` (see [61e8d9ec/cboos.git])
    1015  - when you need to output indented text, this can be made difficult due to our `lstrip_block` configuration setting; you can work around this by embedding Python strings with the exact whitespace content you need in variable expressions: `    ${"\t  "}` (see [0fdef480/cboos.git])
     1015 - when you need to output indented text, this can be made difficult due to our `lstrip_block` configuration setting; you can work around this by embedding Python strings with the exact whitespace content you need in variable expressions: `${"\t  "}` (see [0fdef480/cboos.git])