Changes
no edit summary
if not rendering then -- when value doesn't have a math stripmarker, abandon this test
end
rendering = rendering:match ('$%s+(.+)%s+%$') -- extract just the math text
elseif rendering:match ('<annotation[^>]+>.+</annotation>') then -- if MathML math option
rendering = rendering:match ('<annotation[^>]+>(.+)</annotation>') -- extract just the math text
else
return value; -- had math stripmarker but not one of the three defined forms