Module:ReplaceSpace

local p = {}

function p.main local str = mw.getCurrentFrame.args[1] --local str = "Hy&shy;per­di&#8203;mensio&shy;n Nept&shy;unia" local new = str:gsub("&#8203;", ""):gsub("&shy;", ""):gsub("­","") mw.logObject(new) return new end

return p