diff --git a/src/classes.js b/src/classes.js index f8443669e..6250a0fba 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;