mirror of https://github.com/zulip/zulip.git
popover_menus: Add a comment explaining why we use parse_html.
This commit is contained in:
parent
eb45925b1a
commit
ae3e3fa3cc
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue