fix: diff after converting to html to text (#25582)
This commit is contained in:
parent
6613ed76fe
commit
a9ebf58bd9
1 changed files with 1 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ function format_content_for_timeline(content) {
|
|||
// limits content to 40 characters
|
||||
// escapes HTML
|
||||
// and makes it bold
|
||||
content = frappe.utils.html2text(content);
|
||||
content = frappe.ellipsis(content, 40) || '""';
|
||||
content = frappe.utils.escape_html(content);
|
||||
return content.bold();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue