Module:Citation/CS1/Utilities: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Protected "Module:Citation/CS1/Utilities": High-risk Lua module ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(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 |
if str:sub(1,1) == "'" then str = "<span></span>" .. str; end |
||
if str:sub(-1,-1) == "'" then str = str .. "<span |
if str:sub(-1,-1) == "'" then str = str .. "<span></span>"; end |
||
-- Remove newlines as they break italics. |
-- Remove newlines as they break italics. |