Module:Param Parse: Difference between revisions
Remove extra space in name
(Allow overriding the variant name seperation logic) |
(Remove extra space in name) |
||
Line 447:
if name:sub(-1-#variant_name) == ' '..variant_name then
-- Ends with the variant name. Remove it
name = name:sub(1, -
end
return name
|