kopia lustrzana https://gitlab.com/tomaszg/geostat
Try to write each "see more" entry in new line
rodzic
54b077de6d
commit
87b35c5594
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue