Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.stanza: Handle namespace prefixes for attributes in :find() | Kim Alvefur | 5 days | 1 | -3/+2 |
| | | | | | | More correct handling of namespaces here. This works with both prefixes from the parser and hacky .attr["foo:bar"] | ||||
* | 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 |