[consider merging] escape category descriptions for marker browser info box

This commit is contained in:
Matthias Koefferlein 2024-04-26 22:47:36 +02:00
parent 1939fd2909
commit 369f85561e
1 changed files with 2 additions and 2 deletions

View File

@ -1976,11 +1976,11 @@ MarkerBrowserPage::update_info_text ()
info += "<h3>";
if (category && n_category == 1) {
info += category->name ();
tl::escape_to_html (info, category->name ());
}
if (cell && n_cell == 1 && ! cell->name ().empty ()) {
info += " [" + cell->name () + "]";
tl::escape_to_html (info, std::string (" [") + cell->name () + "]");
}
info += "</h3>";