Module:Episode table: Difference between revisions

Content deleted Content added
No edit summary
Saner detection of dontclose. Might be better to use Module:Yesno, but this will do for now.
Line 228:
name = 'templatestyles', args = { src = 'Module:Episode table/styles.css' }
}
return (((args.dontclose or '') ~= '') and mw.ustring.gsub(tostring(root), "</table>", "") or tostring(root)) .. categories .. templateStyles
end