Merge pull request #8262 from netchampfaris/timeline-escape-html
fix: Escape html in timeline
This commit is contained in:
commit
421f070e78
1 changed files with 1 additions and 0 deletions
|
|
@ -598,6 +598,7 @@ frappe.ui.form.Timeline = class Timeline {
|
|||
return parts.length < 3;
|
||||
});
|
||||
if(parts.length) {
|
||||
parts = parts.map(frappe.utils.escape_html);
|
||||
out.push(me.get_version_comment(version, __("changed value of {0}", [parts.join(', ').bold()])));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue