-
-
Save xyzz/2bf7e9144b2f76599996 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua | |
index 490f9ae..ab8dbe1 100644 | |
--- a/builtin/mainmenu.lua | |
+++ b/builtin/mainmenu.lua | |
@@ -169,8 +169,8 @@ function menu.render_world_list() | |
retval = retval .."," | |
end | |
- retval = retval .. v.name .. | |
- " \\[" .. v.gameid .. "\\]" | |
+ retval = retval .. engine.formspec_escape(v.name) .. | |
+ " \\[" .. engine.formspec_escape(v.gameid) .. "\\]" | |
end | |
return retval |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment