We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ExpertChatMessage
1 parent 36ad95e commit 6f8664fCopy full SHA for 6f8664f
1 file changed
frontend/src/components/expert/ExpertChatMessage.vue
@@ -72,16 +72,7 @@ export default {
72
// Convert markdown to HTML
73
const content = []
74
content.push(this.message.content || '')
75
- // if (this.message.resources?.issues?.length > 0) {
76
- // content.push('\n\n')
77
- // content.push('**Issues:**')
78
- // content.push(this.message.resources.issues.map(issue => `\n- ${this.sanitize(issue)}`).join(''))
79
- // }
80
- // if (this.message.resources?.suggestions?.length > 0) {
81
82
- // content.push('**Suggestions:**')
83
- // content.push(this.message.resources.suggestions.map(suggestion => `\n- ${this.sanitize(suggestion)}`).join(''))
84
+
85
const html = marked(content.join('\n'), {
86
breaks: true,
87
gfm: true
0 commit comments