mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
add_display_time: Note unescaped variable
(imported from commit 17d683e2bf0e5eabfb1cb2cdb6a1db18d140b5c9)
This commit is contained in:
parent
080c169e90
commit
f1809b8f9c
@ -241,6 +241,7 @@ function add_display_time(message, prev) {
|
||||
}
|
||||
}
|
||||
|
||||
// NB: timestr is HTML, inserted into the document without escaping.
|
||||
if (include_date) {
|
||||
message.timestr = time.toString("MMM dd") + " " +
|
||||
time.toString("HH:mm");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user