Ensure system playlist link text is formatted correctly
This commit is contained in:
8
appFn.ts
8
appFn.ts
@@ -176,7 +176,13 @@ const appFn: ApplicationFunction = (app: Probot, { getRouter }) => {
|
|||||||
// .concat(authorName as string);
|
// .concat(authorName as string);
|
||||||
|
|
||||||
// details = playlistMeta.join(' · ');
|
// details = playlistMeta.join(' · ');
|
||||||
details = title! + '· ' + description;
|
details = (
|
||||||
|
title +
|
||||||
|
' · ' +
|
||||||
|
description!.replace('Playlist · ', '')
|
||||||
|
)
|
||||||
|
.replace(/\s+/g, ' ')
|
||||||
|
.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
numProcessedEntries++;
|
numProcessedEntries++;
|
||||||
|
|||||||
Reference in New Issue
Block a user