diff --git a/src/GenerateHtml.cpp b/src/GenerateHtml.cpp
index b351a07..be4d819 100644
--- a/src/GenerateHtml.cpp
+++ b/src/GenerateHtml.cpp
@@ -198,12 +198,18 @@ Json::Value get_data(const Json::Value& data,
for(const auto& key : stsh.getMemberNames()) {
out[key] = stsh[key];
+ if(out[key].isObject())
+ out[key]["prefix"] = "STSH";
}
for(const auto& key : stss.getMemberNames()) {
out[key] = stss[key];
+ if(out[key].isObject())
+ out[key]["prefix"] = "STSS";
}
for(const auto& key : stso.getMemberNames()) {
out[key] = stso[key];
+ if(out[key].isObject())
+ out[key]["prefix"] = "STSO";
}
return out;
@@ -413,7 +419,7 @@ void generate_table_cell(const int year,
tag(os,TAG::BEGIN,R"(span class="term-course-info")");
tag(os,TAG::INLINE) << R"()" << course_title << " (" << credit_string << "c)";