mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-25 22:19:28 -04:00
[sources] fix new line splitting/escaping issue
This commit is contained in:
parent
8fe6f9ff78
commit
d6129b95df
@ -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('\\@', '###').split('@').map(x => x.replace('###', '\@'))
|
||||
: [];
|
||||
this.comment = comment;
|
||||
this.link = link;
|
||||
|
Loading…
x
Reference in New Issue
Block a user