Changes
Jump to navigation
Jump to search
Line 42:
Line 42:
− +
+
+
+
Line 107:
Line 110:
− +
+
Line 130:
Line 134:
+
+textclass parameter
end
end
-- Copy over data that doesn't need adjusting
-- Copy over data that does not need adjusting
local argsToCopy = {
local argsToCopy = {
-- Classes
'textclass',
-- Styles
-- Styles
'style',
'style',
end
end
local textCell = bodyRow:newline():tag('td')
local textCell = bodyRow:newline():tag('td')
textCell:addClass('mbox-text plainlist')
textCell:addClass('mbox-text')
textCell:addClass(data.textclass or 'plainlist')
if data.textstyle then
if data.textstyle then
textCell:cssText(data.textstyle)
textCell:cssText(data.textstyle)
end
end
root:newline()
return tostring(root)
return tostring(root)
end
end
return p
return p