diff options
author | Kim Alvefur <zash@zash.se> | 2023-12-16 13:47:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-12-16 13:47:55 +0100 |
commit | 251f4d3c8a72494586887eb701f181fe0bc94f18 (patch) | |
tree | 2483066c1dd59d8d38b69c09aed98bd306270951 /plugins/mod_version.lua | |
parent | d26ccd84004372051deeff7d68f2e9264f54055a (diff) | |
download | prosody-251f4d3c8a72494586887eb701f181fe0bc94f18.tar.gz prosody-251f4d3c8a72494586887eb701f181fe0bc94f18.zip |
util.xtemplate: Test the each template function
It iterates over childtags, so a template like {foo|each{...}} would be
equivalent to root:childtags("foo"), while a deeper query needs the bit
that becomes arguments to :childtags as an argument to each, e.g.
{foo/bar|each(baz)} would behave like
root:get_child("foo"):get_child("bar"):childtags("baz")
Diffstat (limited to 'plugins/mod_version.lua')
0 files changed, 0 insertions, 0 deletions