aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody/util/xtemplate.tl
Commit message (Collapse)AuthorAgeFilesLines
* util.xtemplate: Use same argument order in filters even without 'args'Kim Alvefur2024-10-161-6/+2
| | | | | | | | | This removes the different argument order used between '{x|foo}' and '{x|foo(y)}' because the differing order was awkward and confusing. This util does not seem to be widely used so should not be problematic to change this part. The only known use is in mod_pubsub, which does not use the filter function feature.
* util.xtemplate: Fix error on applying each() to zero stanzasKim Alvefur2024-07-111-1/+4
|
* util.xtemplate: Adopt {-path-} syntax to strip preceding and/or trailing ↵Kim Alvefur2023-12-091-4/+12
| | | | | | whitespace Seen in some other template languages
* teal: Move into prosody namespaceKim Alvefur2023-03-231-0/+101