Module:Infobox: Difference between revisions

Content deleted Content added
Reverted good faith edits by Izno (talk): This edit appears to cause extraordinarily high spaces between lines on Template:Infobox officeholder.
Fix templatestyles pattern, this tag will be expanded into a strip-marker when processed here
Line 18:
slast = s
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*%]%])', '%2%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(<templatestyles\127[^<>\127]*>UNIQ%s*</-%-templatestyles>%-%x+%-QINU[^\127]*\127)', '%2%1')
end
-- end moving templatestyles and categories inside of table rows