Jump to content

Module:Citation/CS1/Utilities: Difference between revisions

this kind of markup is no longer allowed, and puts pages in Category:Pages using invalid self-closed HTML tags
m>Trappist the monk
m (Protected "Module:Citation/CS1/Utilities": High-risk Lua module ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m>Redrose64
(this kind of markup is no longer allowed, and puts pages in Category:Pages using invalid self-closed HTML tags)
Line 185: Line 185:
return str;
return str;
else
else
if str:sub(1,1) == "'" then str = "<span />" .. str; end
if str:sub(1,1) == "'" then str = "<span></span>" .. str; end
if str:sub(-1,-1) == "'" then str = str .. "<span />"; end
if str:sub(-1,-1) == "'" then str = str .. "<span></span>"; end
-- Remove newlines as they break italics.
-- Remove newlines as they break italics.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.