Module:Citation/CS1/Utilities: Difference between revisions
Content added Content deleted
m (1 revision imported: Math) |
(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. |