Skip to content

Commit

Permalink
[fix] markdown 表格内没有换行 (Chanzhaoyu#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglong001 authored Apr 17, 2023
1 parent 7583985 commit 226ce2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/chat/components/Message/Text.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const { isMobile } = useBasicLayout()
const textRef = ref<HTMLElement>()
const mdi = new MarkdownIt({
html: true,
linkify: true,
highlight(code, language) {
const validLang = !!(language && hljs.getLanguage(language))
Expand Down

0 comments on commit 226ce2b

Please sign in to comment.