From 7ca8554d7efbb6571522387c7136c547d6c0bcd3 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 12 Apr 2020 16:24:48 -0400 Subject: [PATCH] [F] Not unescape url but unescape html --- src/logic/course-info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/course-info.ts b/src/logic/course-info.ts index 43697a4..6f903a0 100644 --- a/src/logic/course-info.ts +++ b/src/logic/course-info.ts @@ -21,7 +21,7 @@ export default class CourseInfo { this.id_ci = json.id_ci this.year = json.year - this.name = json.name.trim() + this.name = json.name.trim().replace('&', '&').replace('"', '"') this.teacher = json.teacher this.level = json.level this.courseIds = json.courseIds.split('|').map((id: string) => +id);