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 ( | 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 value; | |||
end | end | ||