The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 252: | Line 252: | ||
assert( param.has_content( content ), string.format( '%s does not exist', templateName ) ) | assert( param.has_content( content ), string.format( '%s does not exist', templateName ) ) | ||
for styleName in string.gmatch( content, '<templatestyles src="( | for styleName in string.gmatch( content, '<templatestyles src="(.+)"' ) do | ||
if string.find( styleName, ':', 1, true ) then | if string.find( styleName, ':', 1, true ) then | ||
styleName = mw.text.trim( styleName ) | styleName = mw.text.trim( styleName ) |