Changes

Jump to: navigation, search

Module:Citation/CS1/COinS

87 bytes added, 11:20, 17 December 2015
no edit summary
if not rendering then -- when value doesn't have a math stripmarker, abandon this test
-- return 'not rendering';-- return value;
end
local function coins_cleanup (value)
value = coins_replace_math_stripmarker (value); -- replace math stripmarker with text representation of the equation
value = value:gsub ('\127UNIQ%-%-math%-[%a%d]+%-QINU\127', "MATH RENDER ERROR"); --
 
value = mw.text.unstripNoWiki (value); -- replace nowiki stripmarkers with their content
value = value:gsub ('<span class="nowrap" style="padding%-left:0%.1em;">&#39;s</span>', "'s"); -- replace {{'s}} template with simple apostrophe-s
Anonymous user

Navigation menu