45,647
edits
No edit summary |
No edit summary Tag: Reverted |
||
Line 66: | Line 66: | ||
-- language needing such processing. | -- language needing such processing. | ||
-- 20220221: Also convert 漢字(한자) to ruby, instead of needing [[Template:Ruby]]. | -- 20220221: Also convert 漢字(한자) to ruby, instead of needing [[Template:Ruby]]. | ||
if | if getCode(sc) == "Kore" and (text:find("%-") or text:find("[()]")) then | ||
text = require("Module:munge_text")(text, function(txt) | text = require("Module:munge_text")(text, function(txt) | ||
-- Hani/Hang regex is a reasonable subset of Hani/Hang from [[Module:scripts/data]], | -- Hani/Hang regex is a reasonable subset of Hani/Hang from [[Module:scripts/data]], | ||
Line 76: | Line 76: | ||
end | end | ||
if | if getCode(sc) == "Imag" then | ||
face = nil | face = nil | ||
end | end |