20.643
Bearbeitungen
(+ emptiness-check in table_header_footer(), factbox_header_footer()) |
(+ t = str.strip(t) intable_header_footer() und factbox_header_footer()) |
||
| Zeile 121: | Zeile 121: | ||
function p.tab_(t, name) | function p.tab_(t, name) | ||
t = str.strip(t) | t = str.strip(t) | ||
if t ~= "" then | if t ~= "" then | ||
t = "<tab name = ".. name .. ">" .. t .. "</tab>" | t = "<tab name = ".. name .. ">" .. t .. "</tab>" | ||
end | end | ||
return t | return t | ||
end | end | ||
function p.table_header_footer_(t) | function p.table_header_footer_(t) | ||
t = str.strip(t) | |||
if t ~= "" then | if t ~= "" then | ||
t = "<dl class = \"dataTable\">" .. t .. "</dl>" | t = "<dl class = \"dataTable\">" .. t .. "</dl>" | ||
| Zeile 139: | Zeile 137: | ||
function p.factbox_header_footer_(t) | function p.factbox_header_footer_(t) | ||
t = str.strip(t) | |||
if t ~= "" then | if t ~= "" then | ||
t = "<div class = \"factbox\"><tabs>" .. t .. "</tabs></div>" | t = "<div class = \"factbox\"><tabs>" .. t .. "</tabs></div>" | ||