Module:Format ISBN and Module:Format ISBN/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
No edit summary |
No edit summary |
||
Line 137: | Line 137: | ||
end |
end |
||
if 13 == #isbn_str and flags.out10 |
if 13 == #isbn_str and flags.out10 then -- if isbn13 but we want an isbn10 output |
||
flags.isbn10_check_digit = (convert_to_isbn10 (isbn_str)):sub (-1); -- calculate and extract the isbn10 check digit for later |
flags.isbn10_check_digit = (convert_to_isbn10 (isbn_str)):sub (-1); -- calculate and extract the isbn10 check digit for later |
||
end |
end |