Module:Infobox: Difference between revisions
Appearance
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: | Line 18: | ||
slast = s | 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*)(%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*%]%])', '%2%1') | ||
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)( | s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)', '%2%1') | ||
end | end | ||
-- end moving templatestyles and categories inside of table rows | -- end moving templatestyles and categories inside of table rows |