2,788
edits
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
table.insert(tags, 'lang="' .. language.code .. '"') | table.insert(tags, 'lang="' .. language.code .. '"') | ||
end | end | ||
return table.concat(tags, " ") | |||
end | end | ||
return (data.prefix or "") .. "<" .. data.tag .. " " .. compile_tags() .. ">" .. text .. "</" .. data.tag .. ">" | return (data.prefix or "") .. "<" .. data.tag .. " " .. compile_tags() .. ">" .. text .. "</" .. data.tag .. ">" |