Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

popover_menus: Add a comment explaining why we use parse_html.

Aman Agrawalae3e3fa3cc41
diff --git a/static/js/popover_menus.js b/static/js/popover_menus.js
index 0da6126faac..0cccbfadcce 100644
--- a/static/js/popover_menus.js
+++ b/static/js/popover_menus.js
@@ -59,6 +59,8 @@ const default_popover_props = {
its CSS to support Zulip's dark theme. */
theme: "light-border",
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() {