diff --git a/src/layui/layui/rdbMarkerBrowserPage.cc b/src/layui/layui/rdbMarkerBrowserPage.cc index 38877fef2..c39c6dac4 100644 --- a/src/layui/layui/rdbMarkerBrowserPage.cc +++ b/src/layui/layui/rdbMarkerBrowserPage.cc @@ -1976,11 +1976,11 @@ MarkerBrowserPage::update_info_text () info += "

"; 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 += "

";