Try to write each "see more" entry in new line

master
Tomasz Golinski 2022-07-13 17:48:27 +02:00
rodzic 54b077de6d
commit 87b35c5594
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -118,10 +118,10 @@ void show_histogram(const std::map<std::string, int>& data, const std::string& c
else if (i == HIST_MAX) {
std::cout << "</div>\n";
std::cout << "<details class=\"histogram_others " << string_mangle(caption) << "\">\n<summary>See more</summary>\n<p>\n";
std::cout << own.first << " (" << own.second << ")";
std::cout << own.first << " (" << own.second << ")<br>";
}
if (i > HIST_MAX)
std::cout << ", " << own.first << " (" << own.second << ")";
std::cout << own.first << " (" << own.second << ")<br>";
i++;
}
if (i <= HIST_MAX)