Commit Graph

18 Commits (db41cd8e4df7bb1003e9dfb60671ef56113ad69c)

Author SHA1 Message Date
Kim Alvefur db41cd8e4d util.format: Fix Lua 5.1 quirks thanks to ALL THE TESTS 4 years ago
Kim Alvefur 0ddd204a27 util.format: Also handle the %p format added in Lua 5.4 4 years ago
Kim Alvefur 1eca4e8870 util.format: Ensure sanitation of strings passed to wrong format 4 years ago
Kim Alvefur d4c1451794 util.format: Escape invalid UTF-8 by passing trough serialization 4 years ago
Kim Alvefur 130f74381c util.format: Escape ASCII control characters also in extra arguments 5 years ago
Kim Alvefur 7e09f662cb util.format: Allow newlines but ensure following lines are indented 5 years ago
Kim Alvefur f179b18e2b util.format: Fix missing backslash in pattern 5 years ago
Kim Alvefur 6e037dc045 util.format: Change formatting of nil values to avoid looking like XML 5 years ago
Kim Alvefur 3f1d93bb4e util.format: Escape ASCII control characters in output 5 years ago
Kim Alvefur 2661a6f5a3 util.format: Handle integer formats the same way on Lua versions without integer support 7 years ago
Kim Alvefur 236abc4afe util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) 7 years ago
Waqas Hussain 347f3ab6a3 util.format: A string.format wrapper that gracefully handles invalid arguments 8 years ago
Kim Alvefur 2facc56274 util.format: Import unpack from table lib in Lua 5.2+ 8 years ago
Kim Alvefur 0c4ad0fdbc util.format: Move tests to spec/ 8 years ago
Kim Alvefur 1438a38845 util: Various minor changes to please [luacheck] 8 years ago
Kim Alvefur 177420df39 util.format: Serialize values for the %q format 7 years ago
Kim Alvefur 01deb521fd util.format: Use pack from util.table 7 years ago
Kim Alvefur d007771f8d util.format: Tweak how nil values are handled 7 years ago