45,645
edits
No edit summary |
No edit summary |
||
Line 126: | Line 126: | ||
end | end | ||
local text_classes = data.text_classes or " | local text_classes = data.text_classes or "" | ||
local terminfo_classes = data.text_classes or " | local terminfo_classes = data.text_classes or "" | ||
local parts = {} | local parts = {} | ||
table.insert(parts, "<span class='" .. text_classes .. "'>") | table.insert(parts, "<span class='" .. text_classes .. "'>") | ||
Line 135: | Line 135: | ||
end | end | ||
if data.terminfo then | if data.terminfo then | ||
table.insert(parts, "<span class='" .. terminfo_classes .. "' style='font-style: normal;'>") | table.insert(parts, "<span class='" .. terminfo_classes .. "' style='font-style: normal; font-weight: bold;'>") | ||
if type(data.terminfo) == "string" then | if type(data.terminfo) == "string" then | ||
table.insert(parts, data.terminfo) | table.insert(parts, data.terminfo) |