Skip to content

Commit

Permalink
Merge remote-tracking branch 'mt-mods/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Dec 3, 2023
2 parents c5c0502 + cdc3cf5 commit d6cfcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion font_api/fontform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ local function show_node_formspec(playername, pos)
fs = fs:gsub("context", nodemeta)

-- Change all ${} to their corresponding metadata values
fs = fs:gsub("(.)${(.*)}", function(prefix, key)
fs = fs:gsub("(.)${(.-)}", function(prefix, key)
-- Don't alter escaped keys
if prefix == "\\" then
return prefix .. "${" .. key .. "}"
Expand Down

0 comments on commit d6cfcc1

Please sign in to comment.