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);
|
||||
|
||||
// details = playlistMeta.join(' · ');
|
||||
details = title! + '· ' + description;
|
||||
details = (
|
||||
title +
|
||||
' · ' +
|
||||
description!.replace('Playlist · ', '')
|
||||
)
|
||||
.replace(/\s+/g, ' ')
|
||||
.trim();
|
||||
}
|
||||
|
||||
numProcessedEntries++;
|
||||
|
||||
Reference in New Issue
Block a user