Skip to content

Commit

Permalink
fix small issue with MATH 222
Browse files Browse the repository at this point in the history
  • Loading branch information
39bytes committed Aug 5, 2023
1 parent 775668e commit 475ff5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/components/CourseRequirements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type ReqsBlockProps = {
};

const transform = (html: string): React.ReactNode[] => {
const split = html.split(':');
const split = html.split(':', 1);

const doc = new DOMParser().parseFromString(
capitalize(punctuate(split.length <= 1 ? html.trim() : split[1].trim())),
Expand Down
4 changes: 2 additions & 2 deletions seed/courses-2023-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -353216,8 +353216,8 @@
],
"prerequisitesText": "Prerequisite: <a href=\"/study/2023-2024/courses/math-141\">MATH 141</a>. Familiarity with vector geometry or Corequisite: <a href=\"/study/2023-2024/courses/math-133\">MATH 133</a>",
"corequisitesText": null,
"prerequisites": ["MATH141", "MATH133"],
"corequisites": [],
"prerequisites": ["MATH141"],
"corequisites": ["MATH133"],
"leadingTo": [
"ATOC315",
"ATOC404",
Expand Down

0 comments on commit 475ff5d

Please sign in to comment.