Use frappe.utils.md_to_html instead of manual import (#15087)
This commit is contained in:
@@ -5,7 +5,7 @@ def pre_process(issue):
|
||||
project = frappe.db.get_value('Project', filters={'project_name': issue.milestone})
|
||||
return {
|
||||
'title': issue.title,
|
||||
'body': frappe.utils.to_html(issue.body or ''),
|
||||
'body': frappe.utils.md_to_html(issue.body or ''),
|
||||
'state': issue.state.title(),
|
||||
'project': project or ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user