17,097
edits
(getPurchaseStat: Properly handle pages with apostrophes in the game) |
(getPurchaseIcon: Properly handle pages with apostrophes in the game) |
||
Line 409: | Line 409: | ||
function p.getPurchaseIcon(frame) | function p.getPurchaseIcon(frame) | ||
local args = frame.args ~= nil and frame.args or frame | local args = frame.args ~= nil and frame.args or frame | ||
local purchaseName = args[1] | local purchaseName = Shared.fixPagename(args[1]) | ||
local purchase = p.getPurchase(purchaseName) | local purchase = p.getPurchase(purchaseName) | ||