aboutsummaryrefslogtreecommitdiffstats
path: root/util/format.lua
Commit message (Expand)AuthorAgeFilesLines
* util.format: Fix Lua 5.1 quirks thanks to ALL THE TESTSKim Alvefur2021-12-111-1/+6
* util.format: Also handle the %p format added in Lua 5.4Kim Alvefur2021-12-111-3/+18
* util.format: Ensure sanitation of strings passed to wrong formatKim Alvefur2021-12-111-21/+37
* util.format: Escape invalid UTF-8 by passing trough serializationKim Alvefur2021-12-101-1/+10
* util.format: Escape ASCII control characters also in extra argumentsKim Alvefur2021-07-031-1/+1
* util.format: Allow newlines but ensure following lines are indentedKim Alvefur2021-07-031-1/+1
* util.format: Fix missing backslash in patternKim Alvefur2021-07-031-1/+1
* util.format: Change formatting of nil values to avoid looking like XMLKim Alvefur2021-06-291-2/+2
* util.format: Escape ASCII control characters in outputKim Alvefur2021-06-151-1/+16
* util.format: Handle integer formats the same way on Lua versions without inte...Kim Alvefur2019-05-301-2/+5
* util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371)Kim Alvefur2019-05-301-0/+6
* util.format: Serialize values for the %q formatKim Alvefur2018-10-121-1/+5
* util.format: Use pack from util.tableKim Alvefur2018-12-081-2/+3
* util.format: Tweak how nil values are handledKim Alvefur2018-11-281-5/+4
* util.format: Import unpack from table lib in Lua 5.2+Kim Alvefur2017-11-231-1/+1
* util.format: Move tests to spec/Kim Alvefur2017-11-101-10/+0
* util: Various minor changes to please [luacheck]Kim Alvefur2017-11-101-4/+4
* util.format: A string.format wrapper that gracefully handles invalid argumentsWaqas Hussain2017-09-101-0/+74