17,233
edits
m (or put the editlink after the transclusion since it's position:absolute anyway. avoids double newline adding actual space) |
m (remove whitespace in content selection) |
||
Line 180: | Line 180: | ||
if type( self.selection ) == 'table' then | if type( self.selection ) == 'table' then | ||
for k, v in pairs( self.selection ) do | for k, v in pairs( self.selection ) do | ||
content:attr( 'data-tab-content-' .. k, v ) | content:attr( 'data-tab-content-' .. k, v:gsub( "%s", "" ) ) | ||
end | end | ||
else | else | ||
content:attr( 'data-tab-content', self.selection ) | content:attr( 'data-tab-content', self.selection:gsub( "%s", "" ) ) | ||
end | end | ||