Remove .html from link

This commit is contained in:
3eef8a28f26fb2bcc514e6f1938929a1f931762 2023-03-13 16:45:18 -04:00
parent 182f90eceb
commit 2fccef81a9

View file

@ -521,7 +521,7 @@ void generate_course_pill(std::string course_id,
course_id[4] = '-'; course_id[4] = '-';
const auto& title = get_course_title(course_id,qlog); const auto& title = get_course_title(course_id,qlog);
tag(os,TAG::INLINE) << R"(<a class="course-pill" href=")" << course_id tag(os,TAG::INLINE) << R"(<a class="course-pill" href=")" << course_id
<< R"(.html">)" << R"(">)"
<< course_id; << course_id;
if(!title.empty()) { if(!title.empty()) {
os << " " << title; os << " " << title;