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 +
else
parsed_subtags.private_use = {}
for i = last_matched_subtag_i + 2, #potential_subtags do
end
end
end
|