Module:Graph: Difference between revisions

Content deleted Content added
No edit summary
ignore commas in showValues parsing if they're escaped with a backslash (this fixes D3 format strings containing commas being incorrectly parsed)
Line 895:
if showValues then
if type(showValues) == "string" then -- deserialize as table
local keyValues = mw.text.split(showValues, "%s*(?<!\),%s*")
showValues = {}
for _, kv in ipairs(keyValues) do