From 64fc1ba66573c815e1e0e3413942678ab60093e1 Mon Sep 17 00:00:00 2001 From: Avris Date: Sun, 21 Nov 2021 17:43:41 +0100 Subject: [PATCH] [sources] fix escaping @ --- src/classes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes.js b/src/classes.js index f8443669..6250a0fb 100644 --- a/src/classes.js +++ b/src/classes.js @@ -114,7 +114,7 @@ export class Source { this.extra = extra; this.year = year; this.fragments = fragments - ? fragments.replace(/\|/g, '\n').replace('\\@', '###').split('@').map(x => x.replace('###', '@')) + ? fragments.replace(/\|/g, '\n').replace(/\\@/g, '###').split('@').map(x => x.replace(/###/g, '@')) : []; this.comment = comment; this.link = link;