[sources] fix escaping @

This commit is contained in:
Avris 2021-11-21 17:43:41 +01:00
parent 48d3a85037
commit 64fc1ba665
1 changed files with 1 additions and 1 deletions

View File

@ -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;