mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 16:26:50 +00:00
Update team and description parsing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user