Add from ISBN: Ignore space around the colon used to separate identifier type from value. Fixes #2150806 [Add books by space removal when pasting from clipboard](https://bugs.launchpad.net/calibre/+bug/2150806)

This commit is contained in:
Kovid Goyal
2026-05-04 09:13:19 +05:30
parent 34b41c41e0
commit c6156fa53f
@@ -113,6 +113,7 @@ class AddFromISBN(QDialog):
continue
if ':' in parts[0]:
prefix, val = parts[0].partition(':')[::2]
prefix, val = prefix.strip(), val.strip()
else:
prefix, val = 'isbn', parts[0]
path = None