45,693
edits
No edit summary |
No edit summary |
||
Line 315: | Line 315: | ||
return m1 .. encode_entities(m2, "#%&+/:<=>@[\\]_{|}") | return m1 .. encode_entities(m2, "#%&+/:<=>@[\\]_{|}") | ||
end) | end) | ||
if link.target:match("^%*") then link.target = link.target:gsub("^%*","Reconstructed:") end | if link.target:match("^%*") then link.target = link.target:gsub("^%*","Reconstructed:" .. lang:getCanonicalName() .. "/") end | ||
link.fragment = link.fragment and encode_entities(remove_formatting(link.fragment), "#%&+/:<=>@[\\]_{|}") | link.fragment = link.fragment and encode_entities(remove_formatting(link.fragment), "#%&+/:<=>@[\\]_{|}") |