[sources] fix escaping @
This commit is contained in:
parent
48d3a85037
commit
64fc1ba665
|
@ -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;
|
||||
|
|
Reference in New Issue