Module:Section link/sandbox: Difference between revisions

Content deleted Content added
trying decodeAnchor function
m fix module error
Line 6:
 
local function decodeAnchor(anchor)
if type(anchor) ~= "string" then
return nil
end
return (anchor:gsub(
"%.([0-9A-F][0-9A-F])", -- lowercase a-f is not used