Replace \n with ,
This commit is contained in:
@@ -146,7 +146,8 @@ async function getUntis(weekDate) {
|
||||
} else {
|
||||
if (!teachingContent.includes(entry.teachingContent)) {
|
||||
if (teachingContent != "") teachingContent += '\n';
|
||||
teachingContent += "- " + entry.teachingContent;
|
||||
teachingStr = entry.teachingContent.replace('\n', ', ');
|
||||
teachingContent += "- " + teachingStr;
|
||||
}
|
||||
|
||||
if (subjectsWithoutTeachingContent.includes(entry.subject.displayName)) {
|
||||
|
||||
Reference in New Issue
Block a user