Content deleted Content added
Experiment with removing any trailing wikitables or templates which aren't properly ended to fix linter errors Tag: Reverted |
Undid revision 1135536890 by Aidan9382 (talk) - Gonna implement this within Module:Excerpt/portals instead |
||
Line 119:
-- strip tables and block templates; strip newlines and replace pipes within inline templates
excerpt = mw.ustring.gsub(excerpt..'\n', '\n?%b{}\n?', processBraces)
-- replace wikitext bulleted lists with html bulleted lists
excerpt = gsubWikitextLists(excerpt, '*', 'ul', 'li')
|