Jump to content

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 115: Line 115:
local function coins_replace_math_stripmarker (value)
local function coins_replace_math_stripmarker (value)
local stripmarker = '\127UNIQ%-%-math%-[%a%d]+%-QINU\127'; -- math stripmarker pattern
local stripmarker = '\127UNIQ%-%-math%-[%a%d]+%-QINU\127'; -- math stripmarker pattern
local rendering = value:match (value); -- is there a math stripmarker
local rendering = value:match (stripmarker); -- is there a math stripmarker


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 'not rendering';
return value;
-- return value;
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.