Module:Extract short description: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 32:
 
local text = frame:preprocess (template_text)
text = text:match ('<div[^>]-class="shortdescription.->([^<].+)</div>'); -- extract shortdescription text
 
if not text then