mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
compose_banner: Restrict banner to only JQuery, never htmlString.
Co-authored-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
1f21510dd4
commit
baba72df91
@@ -327,6 +327,7 @@ test_ui("send_message", ({override, override_rewire, mock_template}) => {
|
||||
assert.equal(data.classname, "generic_compose_error");
|
||||
assert.equal(data.banner_text, "Error sending message: Server says 408");
|
||||
banner_rendered = true;
|
||||
return "<banner-stub>";
|
||||
});
|
||||
stub_state = initialize_state_stub_dict();
|
||||
$("textarea#compose-textarea").val("foobarfoobar");
|
||||
|
||||
Reference in New Issue
Block a user