Merge pull request #8262 from netchampfaris/timeline-escape-html

fix: Escape html in timeline
This commit is contained in:
mergify[bot] 2019-08-27 04:42:15 +00:00 committed by GitHub
commit 421f070e78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()])));
}
}