Module:Citation/CS1/COinS: Difference between revisions

no edit summary
m>Trappist the monk
No edit summary
m>Trappist the monk
No edit summary
Line 118: Line 118:


if not rendering then -- when value doesn't have a math stripmarker, abandon this test
if not rendering then -- when value doesn't have a math stripmarker, abandon this test
return value;
return 'not rendering';
-- return value;
end
end
Line 130: Line 131:
rendering:match ('<annotation[^>]+>(.+)</annotation>') -- extract just the math text
rendering:match ('<annotation[^>]+>(.+)</annotation>') -- extract just the math text
else
else
-- return value; -- had math stripmarker but not one of the three defined forms
return value; -- had math stripmarker but not one of the three defined forms
return value:gsub (stripmarker, 'rendering', 1);
end
end
Anonymous user