Module:Sandbox/Erutuon: Difference between revisions

Content deleted Content added
m consistency, rm logging
remove "x-" prefix from private-use subtag; use table if there's more than one such subtag
Line 522:
end
if not potential_subtags[last_matched_subtag_i + 3] then -- There is only one private-use subtag.
parsed_subtags.private_use = table.concat(potential_subtags, "-",
parsed_subtags.private_use = potential_subtags[last_matched_subtag_i + 1)2]
else
parsed_subtags.private_use = {}
for i = last_matched_subtag_i + 2, #potential_subtags do
table.insert(parsed_subtags.private_use, = table.concat(potential_subtags, "-",[i])
end
end
end