Content deleted Content added
expand any templates in the caption |
removing any hanging braces after expansion of templates |
||
Line 76:
file = mw.ustring.gsub(file, '|%s*upright%s*=?%s*.-([|%]])', '%1')
file = mw.ustring.gsub(file, '{%b{}}', expand)
file = mw.ustring.gsub(file, '}}', '')
file = mw.ustring.gsub(file, '|', '{{!}}')
file = mw.ustring.gsub(file, '^%[%[', '')
Line 144 ⟶ 145:
return frame:preprocess(output)
end
p.makeTranscludedGalleryLinesTables = function(args) return makeTranscludedGalleryLinesTables(args) end
return p
|