Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
worry about the enddot |
No edit summary |
||
வரிசை 105:
local str = '';
local comp = '';
for _, value in ipairs( tbl ) do
if value == nil then value = ''; end
வரி 111 ⟶ 112:
str = value;
elseif value ~= '' then
if value:sub(1,1) ==
-- Special case of values enclosed in spans and other markup.
comp = value:replace( "%b<>", "" );
else
comp = value;
end
if comp:sub(1,1) == duplicate_char then
if str:sub(-1,-1) == duplicate_char then
str = str(1,-2) .. value
elseif str:sub(-3,-1) == duplicate_char .. "''" then
str = str(1, -4) .. "''" .. value:sub(2);
elseif str:sub(-2,-1) == duplicate_char .. " " then
str = str:sub(1,-3) .. value;
| |||