Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.xtemplate: Fix error on applying each() to zero stanzas | Kim Alvefur | 2024-07-11 | 1 | -0/+4 |
| | |||||
* | util.xtemplate: Test the each template function | Kim Alvefur | 2023-12-16 | 1 | -0/+8 |
| | | | | | | | | 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") | ||||
* | util.xtemplate: Add some initial tests | Kim Alvefur | 2023-12-09 | 1 | -0/+35 |
Strict typing does not magically make code correct |