diff --git a/src/Add-on/PasteClip.ts b/src/Add-on/PasteClip.ts index 08046769f..beda41923 100644 --- a/src/Add-on/PasteClip.ts +++ b/src/Add-on/PasteClip.ts @@ -20,7 +20,7 @@ export class PasteClip str = inflate(str.slice(4)); str = str.trimRight(); - if (arrayLast(str)) + if (arrayLast(str) === ";") str = str.slice(0, -1); data = JSON.parse(str); }