[FIX] web: remove formating from event title
When copy-pasting text from rich text, the content may contain unwanted formating instructions. Unsure it's escaped to avoid propagating the content. X-original-commit: 42f596a5b50e530fd5dc3f8c2939bc5b4e5921af
This commit is contained in:
@@ -398,7 +398,7 @@ var CalendarController = AbstractController.extend({
|
||||
res_model: self.modelName,
|
||||
res_id: id || null,
|
||||
context: event.context || self.context,
|
||||
title: _t("Open: ") + event.data.title,
|
||||
title: _t("Open: ") + _.escape(event.data.title),
|
||||
on_saved: function () {
|
||||
if (event.data.on_save) {
|
||||
event.data.on_save();
|
||||
|
||||
Reference in New Issue
Block a user