Jump to content

Module:Citation/CS1: Difference between revisions

fixes
m>Dragons flight
(always forget the name)
m>Dragons flight
(fixes)
Line 121: Line 121:
             if comp:sub(1,1) == duplicate_char then
             if comp:sub(1,1) == duplicate_char then
                 if str:sub(-1,-1) == duplicate_char then
                 if str:sub(-1,-1) == duplicate_char then
                     str = str(1,-2) .. value;
                     str = str:sub(1,-2) .. value;
                 elseif str:sub(-3,-1) == duplicate_char .. "''" then                   
                 elseif str:sub(-3,-1) == duplicate_char .. "''" then                   
                     str = str(1, -4) .. "''" .. value:sub(2);
                     str = str:sub(1, -4) .. "''" .. value;
                 elseif str:sub(-2,-1) == duplicate_char .. " " then
                 elseif str:sub(-2,-1) == duplicate_char .. " " then
                     str = str:sub(1,-3) .. value;
                     str = str:sub(1,-3) .. value;
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.