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