Update team and description parsing

This commit is contained in:
Dennis Reimann
2024-04-28 12:17:14 +02:00
parent 94bf896221
commit 7812610172
6 changed files with 22 additions and 9 deletions

View File

@@ -68,6 +68,8 @@ const teamWithAliases = team => {
return withAliases
}
const participantToId = p => p.replace(/\(.*?\)/, '').trim().toLowerCase()
module.exports = {
markdown: mdTransformer.render,
replacements,
@@ -75,5 +77,6 @@ module.exports = {
stripHTML,
truncate,
teamWithAliases,
participantToId,
toMeetupMapInfo
}