mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 18:35:20 +02:00
Add core.strip_escapes() (#16485)
This commit is contained in:
@@ -182,7 +182,7 @@ local function format_statistics(profile, format, filter, enable_translation)
|
||||
formatter:format(filter)
|
||||
local out = formatter:flush()
|
||||
if not enable_translation then
|
||||
out = core.get_translated_string("en", out)
|
||||
out = core.strip_escapes(out)
|
||||
end
|
||||
return out
|
||||
end
|
||||
|
Reference in New Issue
Block a user