Content deleted Content added
sync |
use mw.text.decode |
||
Line 309:
]]
function p.hyphen_to_dash( str )
str =
▲ str = str:gsub ('&[nm]dash;', {['–'] = '–', ['—'] = '—'}); -- replace — and – entities with their characters; semicolon mucks up the text.split
local out = {};
|