popover_menus: Add a comment explaining why we use parse_html.

This commit is contained in:
Aman Agrawal 2022-11-29 09:11:52 +00:00 committed by Tim Abbott
parent eb45925b1a
commit ae3e3fa3cc
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ const default_popover_props = {
its CSS to support Zulip's dark theme. */ its CSS to support Zulip's dark theme. */
theme: "light-border", theme: "light-border",
touch: true, touch: true,
/* Don't use allow-HTML here since it is unsafe. Instead, use `parse_html`
to generate the required html */
}; };
export function any_active() { export function any_active() {