Changes

Jump to navigation Jump to search
86 bytes added ,  23:58, 11 July 2021
+textclass parameter
Line 42: Line 42:  
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',
Line 107: Line 110:  
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)
Line 130: Line 134:  
end
 
end
    +
root:newline()
 
return tostring(root)
 
return tostring(root)
 
end
 
end
    
return p
 
return p
Anonymous user

Navigation menu