Changes

no edit summary
Line 2: Line 2:     
local Tabber = BaseData{
 
local Tabber = BaseData{
_tag = '#tag:tabber',
   
_separator = '\n|-|\n'
 
_separator = '\n|-|\n'
 
}
 
}
Line 18: Line 17:     
function Tabber:_tostring()
 
function Tabber:_tostring()
return mw.getCurrentFrame():callParserFunction(self._tag, table.concat(self._tabs, self._separator))
+
return mw.getCurrentFrame():preprocess('<tabber>' .. table.concat(self._tabs, self._separator) .. '</tabber>')
 
end
 
end
    
return Tabber
 
return Tabber
Anonymous user