Changes
no edit summary
end
rendering = mw.text.unstripNoWiki (stripmarkerrendering); -- get the convert stripmarker into rendered value (or nil? ''? when math render error)
if rendering:match ('alt="[^"]+"') then -- if PNG math option