File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5858 "course " => $ course ['course ' ],
5959 "department " => array ("code " => $ course ['code ' ], "number " =>$ course ['number ' ]),
6060 "title " => $ course ['title ' ],
61- "description " => $ course ['description ' ]
61+ "description " => htmlentities ( $ course ['description ' ])
6262 );
6363 }
6464
Original file line number Diff line number Diff line change @@ -186,11 +186,12 @@ function timeStringToMinutes($str) {
186186
187187/**
188188 * Checks if a section is a special section (lab/studio/etc)
189+ * Now also ignores "H" for honors classes, which are separate
189190 * @param $courseInfo
190191 * @return int
191192 */
192193function isSpecialSection ($ courseInfo ) {
193- return preg_match ('/[A-Z]\d{0,2}$/ ' , $ courseInfo ['courseNum ' ]) === 1 ;
194+ return preg_match ('/[A-GI- Z]\d{0,2}$/ ' , $ courseInfo ['courseNum ' ]) === 1 ;
194195}
195196
196197/**
Original file line number Diff line number Diff line change 11{
22 "name" : " schedulemaker" ,
3- "version" : " 3.0.13 " ,
3+ "version" : " 3.0.14 " ,
44 "private" : true ,
55 "description" : " A course database lookup tool and schedule building web application for use at Rochester Institute of Technology." ,
66 "main" : " index.php" ,
You can’t perform that action at this time.
0 commit comments