Mercurial > hgrepos > Python > libs > ConfigMix
changeset 727:3686bad61391
Docs: Notes on chaining filters in nested filter interpolation
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 16 Aug 2023 22:16:00 +0200 |
| parents | 9b0dc1d57a9f |
| children | 450223a8cff2 |
| files | docs/introduction.rst |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/introduction.rst Wed Aug 16 22:14:07 2023 +0200 +++ b/docs/introduction.rst Wed Aug 16 22:16:00 2023 +0200 @@ -541,6 +541,9 @@ first, and the complete result is feeded into the filter chain, beginning with ``filter1``. +.. note:: Chaining filters is allowed only with the comma ``,`` as separating + symbol. Using the pipe symbol ``|`` is not supported. + With this, the non-working example above can be expressed as ``{{|{{path-variable|Empty}}/subdir|normpath|}}`` and yields the expected result -- with `normpath` applied to the now
