mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-26 06:19:15 +02:00
feat:#104 added whitespace trim for course
This commit is contained in:
@@ -35,7 +35,7 @@ func toEvents(tables [][]*html.Node, days []string) []model.Event {
|
|||||||
Prof: getTextContent(tableData[6]),
|
Prof: getTextContent(tableData[6]),
|
||||||
Rooms: getTextContent(tableData[8]),
|
Rooms: getTextContent(tableData[8]),
|
||||||
BookedAt: getTextContent(tableData[10]),
|
BookedAt: getTextContent(tableData[10]),
|
||||||
Course: course,
|
Course: strings.TrimSpace(course),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user